PFrameInset

Set the inset, or margins, around the inside of a frame.

This command was introduced in PageMaker 6.5.


Command constructor

This class has three constructors.

PFrameInset(long nTop, long nLeft, long nBottom, long nRight);

long nTop;

Size of the inset on the top edge of the frame in twips

long nLeft;

Size of the inset on the left edge of the frame in twips

long nBottom;

Size of the inset on the bottom edge of the frame in twips

long nRight;

Size of the inset on the right edge of the frame in twips

PFrameInset(long topBottom, long leftRight);

long topBottom;

Size of the inset on the top and bottom edges of the frame in twips

long leftRight;

Size of the inset on the left and right edges of the frame in twips

PFrameInset(long allAround);

long allAround;

Size of the inset on all sides in twips.


Note. The selected frames must have either text content or no content.

Example. This example puts a 0.25 inch inset on all four sides of a selected frame.

PFrameInset(twips("0.25i"));


See also

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

The PGetFrameContentPos, PGetFrameInset, PGetFrameContentType, PGetIsFrame, and PGetNextFrame queries


Comments or suggestions? Contact Adobe Developer Support
Copyright © 1997 - 2001 Adobe Systems Incorporated. All rights reserved.
Legal notices and trademark attributions