PGetFrameContentPos

Returns the Content Position settings for the currently selected frame(s).

This query is new in PageMaker 6.5


Query results

short nVertAlign;
0 for top vertical alignment
1 for center vertical alignment
2 for bottom vertical alignment
-2 multiple frames are selected and conflict (i.e. are set to different settings)
short nHorzAlign;
0 for left horizontal alignment
1 for center horizontal alignment
2 for right horizontal alignment
-2 multiple frames are selected and conflict, or if the frame contains text
short nScaleType;
0 for clip to fit
1 for size to fit
2 for scale to fit
-2 multiple frames are selected and conflict, or if the frame contains text
short nKeepAspectRatio;
0 unchecked (only meaningful when scale type is 2, 'scale to fit')
1 checked
-2 multiple frames are selected and conflict, or if the frame contains text


See also

The PAttachContent, PBreakLinks, PDeleteContent, PFrameContentPos, PFrameInset, PLinkFrames, PSeparateContent, and PToggleFrame commands

The PGetFrameInset, PGetFrameContentType, PGetIsFrame, and PGetNextFrame queries


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support