Paragraph Formatting

Properties

Property Description
TXTextControl.TXTextControl.Alignment Specifies the alignment of text in a Text Control.
TXTextControl.TXTextControl.FrameColor Returns or sets the background color for selected paragraphs.
TXTextControl.TXTextControl.FrameDistance Returns or sets the distance between text and paragraph frame for the currently selected paragraph(s).
TXTextControl.TXTextControl.FrameLineColor Returns or sets the color for the frame lines of selected paragraphs.
TXTextControl.TXTextControl.FrameLineWidth Specifies the line widths of the currently selected paragraphs' frames.
TXTextControl.TXTextControl.FrameStyle Returns or sets the style of the currently selected paragraphs' frames.
TXTextControl.TXTextControl.IndentB Returns or sets an additional bottom distance (in twips) for a paragraph or a selected range of paragraphs.
TXTextControl.TXTextControl.IndentFL Returns or sets an additional left indent (in twips) for the first line of a paragraph or a selected range of paragraphs.
TXTextControl.TXTextControl.IndentL Returns or sets the left indent (in twips) for a paragraph or a selected range of paragraphs.
TXTextControl.TXTextControl.IndentR Returns or sets the right indent (in twips) for a paragraph or a selected range of paragraphs.
TXTextControl.TXTextControl.IndentT Returns or sets an additional top distance (in twips) for a paragraph or a selected range of paragraphs.
TXTextControl.TXTextControl.Justification Gets or sets the kind of justification in documents containing Arabic or Hebrew characters.
TXTextControl.TXTextControl.KeepLinesTogether Gets or sets a value indicating whether a page break is allowed within a paragraph.
TXTextControl.TXTextControl.KeepWithNext If this property is set to true for a paragraph, it is displayed on the same page as its following paragraph.
TXTextControl.TXTextControl.LineSpacing Specifies the line spacing for the currently selected paragraphs as a percentage of the font size.
TXTextControl.TXTextControl.LineSpacingT Specifies the line spacing for the currently selected paragraphs in twips.
TXTextControl.TXTextControl.PageBreakBefore If this property is set to true for a paragraph, it is always displayed on top of a page.
TXTextControl.TXTextControl.ParagraphCount Returns the number of paragraphs, the document contains.
TXTextControl.TXTextControl.TabCurrent Specifies the current tab number for the properties TabPos and TabType.
TXTextControl.TXTextControl.TabPos Determines the position, in twips, of a certain tab.
TXTextControl.TXTextControl.TabType Determines the type of a certain tab.
TXTextControl.TXTextControl.TextDirection Specifies the writing direction.
TXTextControl.TXTextControl.WidowOrphanLines Gets or sets the number of lines for widow/orphan control.

Methods

Method Description
TXTextControl.TXTextControl.ChangeTextDirection Changes the text direction of all selected paragraphs.
TXTextControl.TXTextControl.DecreaseIndent Decreases the left indent of all paragraphs contained in the current text selection.
TXTextControl.TXTextControl.IncreaseIndent Increases the left indent of all paragraphs contained in the current text selection.
TXTextControl.TXTextControl.ParagraphDialog Invokes the Text Control's built-in paragraph attributes dialog box and, after the user has closed the dialog box, specifies whether he has changed something.
TXTextControl.TXTextControl.ParagraphSelect This method can be used to select the specified paragraph.
TXTextControl.TXTextControl.TabDialog Invokes the Text Control's built-in dialog box for setting tabs.

Events

Event Description
TXTextControl.TXTextControl.ParagraphChange Occurs when the character input position has been moved to another paragraph.
TXTextControl.TXTextControl.ParagraphFormatChange Occurs when the paragraph attributes of the selected paragraphs have been changed.