MsoTextFrame

MsoTextFrame class

Represents the text frame in a Shape object.

Properties

NameTypeDescription
AutoSizebooleanIndicates if size of shape is adjusted automatically according to its content.
IsAutoMarginbooleanIndicates whether the margin is auto calculated.
RotateTextWithShapebooleanIndicates whether rotating text with shape.
LeftMarginPtfloatReturns the left margin in unit of Points
RightMarginPtfloatReturns the right margin in unit of Points
TopMarginPtfloatReturns the top margin in unit of Points
BottomMarginPtfloatReturns the bottom margin in unit of Points

MsoTextFrame.AutoSize property

Indicates if size of shape is adjusted automatically according to its content.

Type: boolean

MsoTextFrame.IsAutoMargin property

Indicates whether the margin is auto calculated.

Type: boolean

MsoTextFrame.RotateTextWithShape property

Indicates whether rotating text with shape.

Type: boolean

MsoTextFrame.LeftMarginPt property

Returns the left margin in unit of Points

Type: float

MsoTextFrame.RightMarginPt property

Returns the right margin in unit of Points

Type: float

MsoTextFrame.TopMarginPt property

Returns the top margin in unit of Points

Type: float

MsoTextFrame.BottomMarginPt property

Returns the bottom margin in unit of Points

Type: float