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.
LeftMarginPtNumberReturns the left margin in unit of Points
RightMarginPtNumberReturns the right margin in unit of Points
TopMarginPtNumberReturns the top margin in unit of Points
BottomMarginPtNumberReturns 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: Number

MsoTextFrame.RightMarginPt property

Returns the right margin in unit of Points

Type: Number

MsoTextFrame.TopMarginPt property

Returns the top margin in unit of Points

Type: Number

MsoTextFrame.BottomMarginPt property

Returns the bottom margin in unit of Points

Type: Number