MsoTextFrame

MsoTextFrame class

Represents the text frame in a Shape object.

class MsoTextFrame;

Properties

PropertyTypeDescription
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

autoSize

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

autoSize : boolean;

isAutoMargin

Indicates whether the margin is auto calculated.

isAutoMargin : boolean;

rotateTextWithShape

Indicates whether rotating text with shape.

rotateTextWithShape : boolean;

leftMarginPt

Returns the left margin in unit of Points

leftMarginPt : number;

rightMarginPt

Returns the right margin in unit of Points

rightMarginPt : number;

topMarginPt

Returns the top margin in unit of Points

topMarginPt : number;

bottomMarginPt

Returns the bottom margin in unit of Points

bottomMarginPt : number;