Frame module

class Frame.Frame

Bases: WordAttrCollection

Represents Frame object used in framed document.

property FrameAnchorLock: bool

Gets whether lock the anchor of Frame or not.

property FrameHeightRule: FrameSizeRule

Gets Height Rule of Frame.

property FrameHorizontalAlignment: HorizontalPosition

Gets Horizontal Alignment of Frame.

property FrameHorizontalOrigin: FrameHorzAnchor

Gets relative to what the frame is positioned horizontally.

property FrameHorizontalPosition: float

Gets Horizontal Position of Frame.

property FrameVerticalAlignment: VerticalPosition

Gets Vertical Alignment of Frame.

property FrameVerticalOrigin: FrameVertAnchor

Gets relative to what the frame is positioned vertically.

property FrameVerticalPosition: float

Gets Vertical Position of Frame.

property FrameWidthRule: FrameSizeRule

Gets Width Rule of Frame.

GetHeight() float

Gets height of this frame

GetHorizontalDistanceFromText() float

Gets the distance between the document text and left or right edge of the frame.

GetHorizontalPosition() float

Gets the position of the left edge of the frame

GetVerticalDistanceFromText() float

Gets the distance between the document text and top or bottom edge of the frame.

GetVerticalPosition() float

Gets the position of the top edge of the frame

GetWidth() float

Gets width of this frame

SetHeight(value: float)

Sets height of this frame

SetHorizontalDistanceFromText(value: float)

Sets the distance between the document text and left or right edge of the frame.

SetHorizontalPosition(value: float)

Sets the position of the left edge of the frame

SetVerticalDistanceFromText(value: float)

Sets the distance between the document text and top or bottom edge of the frame.

SetVerticalPosition(value: float)

Sets the position of the top edge of the frame

SetWidth(value: float)

Sets width of this frame

property WrapFrameAround: bool

Gets wrap type of Frame.