Paragraph Programming

Classes

Class Description
TXTextControl.Paragraph An instance of the Paragraph class represents a single paragraph in a Text Control document.
TXTextControl.ParagraphCollection An instance of the ParagraphCollection class contains all paragraphs in a Text Control document or part of the document represented through objects of the type Paragraph.

Methods

Method Description
TXTextControl.Paragraph.Save Saves the paragraph's text with the specified format.
TXTextControl.Paragraph.Select Selects the paragraph.
TXTextControl.ParagraphCollection.CopyTo Copies the elements of the collection to an array, starting at a particular index.
TXTextControl.ParagraphCollection.GetEnumerator Returns an enumerator that can be used to iterate through the collection.
TXTextControl.ParagraphCollection.GetItem Gets a particular paragraph from the collection.

Properties

Property Description
TXTextControl.Paragraph.FormattingStyle Gets or sets the paragraph's formatting style.
TXTextControl.Paragraph.Format Gets or sets the paragraph's formatting attributes.
TXTextControl.Paragraph.Length Gets the number of characters in the paragraph including the paragraph end character.
TXTextControl.Paragraph.ListFormat Gets or sets the paragraph's bulleted or numbered list and/or its formatting attributes.
TXTextControl.Paragraph.Lines Gets the number of lines the paragraph consists of.
TXTextControl.Paragraph.ListNumber Gets the paragraph's list number.
TXTextControl.Paragraph.ListNumberText Gets the paragraph's list number text.
TXTextControl.Paragraph.Number Gets the paragraph's number.
TXTextControl.Paragraph.Start Gets the number (one-based) of the paragraph's first character.
TXTextControl.Paragraph.StartLine Gets the number (one-based) of the paragraph's first line.
TXTextControl.Paragraph.Text Gets the paragraph's text.
TXTextControl.ParagraphCollection.Count Gets the number of elements contained in the collection.
TXTextControl.ParagraphCollection.Item Gets a paragraph from the collection.
TXTextControl.ServerTextControl.Paragraphs Gets a collection of all paragraphs contained in the main text of the document.
TXTextControl.WPF.TextControl.Paragraphs Gets a collection of all paragraphs contained in the text part with the input focus.