Paragraph Formatting

Classes

Class Description
TXTextControl.ParagraphFormat An instance of the ParagraphFormat class represents the formatting attributes of a paragraph.

Constructors

Constructor Description
TXTextControl.ParagraphFormat Creates a new instance of the ParagraphFormat class.

Enumerations

Enumeration Description
TXTextControl.ParagraphFormat.Attribute Determines a certain paragraph format attribute.

Events

Event Description
TXTextControl.TextControl.InputParagraphChanged Occurs when the text input position has been moved to another paragraph.
TXTextControl.TextControl.ParagraphFormatChanged Occurs when the formatting attributes of the selected paragraphs have been changed.

Fields

Field Description
TXTextControl.ParagraphFormat.MaxTabs Represents the maximum number of tabs in a line.

Methods

Method Description
TXTextControl.TextControl.FrameFillColorDialog Invokes the built-in dialog box for choosing a color for the background of a paragraph or a table cell.
TXTextControl.TextControl.FrameLineColorDialog Invokes the built-in dialog box for choosing a color for the frame of a paragraph or a table.
TXTextControl.TextControl.OnInputParagraphChanged Raises the InputParagraphChanged event.
TXTextControl.TextControl.OnParagraphFormatChanged Raises the ParagraphFormatChanged event.
TXTextControl.TextControl.ParagraphFormatDialog Invokes the built-in dialog box for setting the formatting attributes of a paragraph.
TXTextControl.TextControl.TabDialog Invokes the built-in dialog box for setting tabs.

Properties

Property Description
TXTextControl.ParagraphFormat.AbsoluteLineSpacing Gets or sets the line spacing of a paragraph in twips.
TXTextControl.ParagraphFormat.Alignment Gets or sets the horizontal text alignment.
TXTextControl.ParagraphFormat.BackColor Gets or sets the background color of a paragraph.
TXTextControl.ParagraphFormat.FrameLineColor Gets or sets the color used for the frame lines of a paragraph.
TXTextControl.ParagraphFormat.BottomDistance Gets or sets the bottom distance, in twips, between this and the next paragraph.
TXTextControl.ParagraphFormat.Direction Gets or sets the writing direction.
TXTextControl.ParagraphFormat.Frame Gets or sets a frame around the paragraph.
TXTextControl.ParagraphFormat.FrameDistance Gets or sets the distance, in twips, between the text and the paragraph's frame.
TXTextControl.ParagraphFormat.FrameLineWidth Gets or sets the line width, in twips, of the paragraph's frame.
TXTextControl.ParagraphFormat.FrameStyle Gets or sets the style of the paragraph's frame.
TXTextControl.ParagraphFormat.HangingIndent Gets or sets the distance, in twips, for the hanging indent.
TXTextControl.ParagraphFormat.Justification Gets or sets the kind of justification in documents containing Arabic or Hebrew characters.
TXTextControl.ParagraphFormat.KeepLinesTogether Gets or sets a value indicating whether a page break is allowed within the paragraph.
TXTextControl.ParagraphFormat.KeepWithNext If this property is set to true, the paragraph is displayed on the same page as its following paragraph.
TXTextControl.ParagraphFormat.LeftIndent Gets or sets the distance, in twips, between the left edge of the Text Control and the left edge of the text.
TXTextControl.ParagraphFormat.LineSpacing Specifies the line spacing of a paragraph as a percentage of the font size.
TXTextControl.ParagraphFormat.PageBreakBefore If this property is set to true, the paragraph is always displayed on top of a page.
TXTextControl.ParagraphFormat.RightIndent Gets or sets the distance, in twips, between the right edge of a Text Control document and the right edge of the text.
TXTextControl.ParagraphFormat.TabPositions Gets or sets an array containing the absolute tab stop positions, in twips, in a paragraph.
TXTextControl.ParagraphFormat.TabTypes Gets or sets an array containing the tab types in a paragraph.
TXTextControl.ParagraphFormat.TopDistance Gets or sets a top distance, in twips, between this and the previous paragraph.
TXTextControl.ParagraphFormat.WidowOrphanLines Gets or sets the number of lines for widow/orphan control.
TXTextControl.ServerTextControl.ParagraphFormat Gets or sets the paragraph formatting attributes of the text displayed by the control.
TXTextControl.TextControl.ParagraphFormat Gets or sets the paragraph formatting attributes of the text displayed by the control.