API Documentation > CorelDRAW > 2025-v26
TextFrame class
TextFrames class
Syntax:
Class TextFrame
Remarks:
The TextFrame class represents the settings for a paragraph-text frame.
Properties:
Name Description
ColumnCount Gets the number of columns in the frame
ColumnGutter Gets the amount of space between columns
ColumnWidth Gets the width of specified column
Container Returns a reference to the frame's container
Empty Returns True if the text frame is empty
Fill Specifies the background fill for the text frame
FrameShape Returns the text shape object which hosts the given text frame
Index Gets the index of the text frame
IsFirst Returns True if this is the first text frame
IsFittedToPath Returns True if the frame is fitted to a path
IsInsideContainer Returns True if the frame is inside a container shape
IsLast Returns True if this is the last text frame
Multicolumn Returns True if the frame has more than one column
Next Returns the next text frame, if any
Path Returns a reference to the text's path, if the text is fitted to a path
Previous Returns the previous text frame, if any
Range Returns a TextRange containing the text in the frame
VerticalAlignment Gets/sets the vertical alignment of the text frame
Methods:
Name Description
LinkTo Links a text frame to the specified shape
SetColumns Creates columns within the frame
UnLink Unlinks the text frame