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 | |
---|---|---|
BreakForwardLink | Breaks the forward link for the specified text frame, if such a link exists. | |
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 | |
---|---|---|
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. | |
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. | |
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. | |
ColumnSpacing | Returns or sets a Variant that represents the amount of space between text columns. Read/write. | |
HasNextLink | MsoTrue if the text frame has a valid forward text box link. Read-only MsoTriState. | |
HasPreviousLink | MsoTrue if the text frame has a valid link to a backward text box. Read-only MsoTriState. | |
HasText | Returns an MsoTriState constant indicating whether the specified shape has text associated with it. Read-only. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
NextLinkedTextFrame | Returns or sets a TextFrame object representing the text frame to which text flows from the specified text frame. Read/write. | |
Orientation | Returns or sets a PbTextOrientation constant that represents how text flows in a text box. Read/write. | |
Overflowing | MsoTrue if the text frame contains more text than can fit into the text frame. Read-only MsoTriState. | |
Parent | Returns the parent object of the specified TextFrame object. Read-only. | |
PreviousLinkedTextFrame | Returns a TextFrame object representing the text frame from which text flows to the specified text frame. | |
Story | Returns a Story object that represents the story properties in a text range. | |
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. | |
VerticalTextAlignment | Returns or sets a PbVerticalTextAlignmentType constant that represents the vertical alignment of text in a text box. Read/write. |