Share via


TextFrame Object Members

Publisher Developer Reference

Represents the text frame in a Shape object. Contains the text in the text frame as well as the properties that control the margins and orientation of the text frame.

Methods

  Name Description
Aa438834.methods(en-us,office.12).gif BreakForwardLink Breaks the forward link for the specified text frame, if such a link exists.
Aa438834.methods(en-us,office.12).gif ValidLinkTarget Determines whether the text frame of one shape can be linked to the text frame of another shape. Returns True if LinkTarget is a valid target, False if LinkTarget already contains text or is already linked, or if the shape doesn't support attached text.

Properties

  Name Description
Aa438834.properties(en-us,office.12).gif Application Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application.
Aa438834.properties(en-us,office.12).gif AutoFitText Sets or returns a PbTextAutoFitType constant that represents how Microsoft Office Publisher automatically adjusts the text font size and the TextFrame objects size for best viewing. Read/write.
Aa438834.properties(en-us,office.12).gif Columns Returns or sets a Long that represents the number of guide columns on a page or the number of columns in a text frame. Read/write.
Aa438834.properties(en-us,office.12).gif ColumnSpacing Returns or sets a Variant that represents the amount of space between text columns. Read/write.
Aa438834.properties(en-us,office.12).gif HasNextLink MsoTrue if the text frame has a valid forward text box link. Read-only MsoTriState.
Aa438834.properties(en-us,office.12).gif HasPreviousLink MsoTrue if the text frame has a valid link to a backward text box. Read-only MsoTriState.
Aa438834.properties(en-us,office.12).gif HasText Returns an MsoTriState constant indicating whether the specified shape has text associated with it. Read-only.
Aa438834.properties(en-us,office.12).gif IncludeContinuedFromPage Determines whether the text "Continued from page pagenumber" appears in a text box when Microsoft Office Publisher automatically fits text to the text box. Read/write.
Aa438834.properties(en-us,office.12).gif IncludeContinuedOnPage Determines whether the text "Continued on page pagenumber" appears in a text box when Microsoft Office Publisher automatically fits text to the text box. Read/write.
Aa438834.properties(en-us,office.12).gif MarginBottom Returns or sets a Variant that represents the amount of space (in points) between the text and the bottom edge of a cell, text frame, or page. Read/write.
Aa438834.properties(en-us,office.12).gif MarginLeft Returns or sets a Variant that represents the amount of space (in points) between the text and the left edge of a cell, text frame, or page. Read/write.
Aa438834.properties(en-us,office.12).gif MarginRight Returns or sets a Variant that represents the amount of space (in points) between the text and the right edge of a cell, text frame, or page. Read/write.
Aa438834.properties(en-us,office.12).gif MarginTop Returns or sets a Variant that represents the amount of space (in points) between the text and the top edge of a cell, text frame, or page. Read/write.
Aa438834.properties(en-us,office.12).gif NextLinkedTextFrame Returns or sets a TextFrame object representing the text frame to which text flows from the specified text frame. Read/write.
Aa438834.properties(en-us,office.12).gif Orientation Returns or sets a PbTextOrientation constant that represents how text flows in a text box. Read/write.
Aa438834.properties(en-us,office.12).gif Overflowing MsoTrue if the text frame contains more text than can fit into the text frame. Read-only MsoTriState.
Aa438834.properties(en-us,office.12).gif Parent Returns the parent object of the specified TextFrame object. Read-only.
Aa438834.properties(en-us,office.12).gif PreviousLinkedTextFrame Returns a TextFrame object representing the text frame from which text flows to the specified text frame.
Aa438834.properties(en-us,office.12).gif Story Returns a Story object that represents the story properties in a text range.
Aa438834.properties(en-us,office.12).gif TextRange Returns a TextRange object that represents the text that's attached to a shape, as well as properties and methods for manipulating the text.
Aa438834.properties(en-us,office.12).gif VerticalTextAlignment Returns or sets a PbVerticalTextAlignmentType constant that represents the vertical alignment of text in a text box. Read/write.