TXTextControl.ParagraphFormat Object

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

Introduced: 26.0.

Syntax

[JavaScript]
{
getAbsoluteLineSpacing: <function>
getAlignment: <function>
getBackColor: <function>
getBottomDistance: <function>
getDirection: <function>
getFrame: <function>
getFrameDistance: <function>
getFrameLineWidth: <function>
getFrameStyle: <function>
getHandingIndent: <function>
getJustification: <function>
getKeepLineTogether: <function>
getKeepWithNext: <function>
getLeftIndent: <function>
getLineColor: <function>
getLineSpacing: <function>
getPageBreakBefore: <function>
getRightIndent: <function>
getTabPositions: <function>
getTabTypes: <function>
getTopDistance: <function>
getWidowOrphanLines: <function>
setAbsoluteLineSpacing: <function>
setAlignment: <function>
setBackColor: <function>
setBottomDistance: <function>
setDirection: <function>
setFrame: <function>
setFrameDistance: <function>
setFrameLineWidth: <function>
setFrameStyle: <function>
setHandingIndent: <function>
setJustification: <function>
setKeepLineTogether: <function>
setKeepWithNext: <function>
setLeftIndent: <function>
setLineColor: <function>
setLineSpacing: <function>
setPageBreakBefore: <function>
setRightIndent: <function>
setTabPositions: <function>
setTabTypes: <function>
setTopDistance: <function>
setWidowOrphanLines: <function>
}

Methods

Method Description
getAbsoluteLineSpacing Gets the line spacing of a paragraph in twips.
getAlignment Gets the horizontal text alignment.
getBackColor Gets the background color of a paragraph.
getBottomDistance Gets the bottom distance, in twips, between this and the next paragraph.
getDirection Gets the writing direction.
getFrame Gets the framesetting of the paragraph.
getFrameDistance Gets the distance, in twips, between the text and the paragraph's frame.
getFrameLineWidth Gets the line width, in twips, of the paragraph's frame.
getFrameStyle Gets the style of the paragraph's frame.
getHangingIndent Gets the distance, in twips, for the hanging indent.
getJustification Gets the kind of justification in documents containing Arabic or Hebrew characters.
getKeepLineTogether Gets a value indicating whether a page break is allowed within the paragraph.
getKeepWithNext If this property is set to true, the paragraph is displayed on the same page as its following paragraph.
getLeftIndent Gets the distance, in twips, between the left edge of the Text Control and the left edge of the text.
getLineColor Gets the color used for the frame lines of a paragraph.
getLineSpacing Gets the line spacing of a paragraph as a percentage of the font size.
getPageBreakBefore If this property is set to true, the paragraph is always displayed on top of a page.
getRightIndent Gets the distance, in twips, between the right edge of a Text Control document and the right edge of the text.
getTabPositions Gets an array containing the absolute tab stop positions, in twips, in a paragraph.
getTabTypes Gets an array containing the tab types in a paragraph.
getTopDistance Gets a top distance, in twips, between this and the previous paragraph.
getWidowOrphanLines Gets the number of lines for widow/orphan control.
setAbsoluteLineSpacing Sets the line spacing of a paragraph in twips.
setAlignment Sets the horizontal text alignment.
setBackColor Sets the background color of a paragraph.
setBottomDistance Sets the bottom distance, in twips, between this and the next paragraph.
setDirection Sets the writing direction.
setFrame Sets the framesetting of the paragraph.
setFrameDistance Sets the distance, in twips, between the text and the paragraph's frame.
setFrameLineWidth Sets the line width, in twips, of the paragraph's frame.
setFrameStyle Sets the style of the paragraph's frame.
setHangingIndent Sets the distance, in twips, for the hanging indent.
setJustification Sets the kind of justification in documents containing Arabic or Hebrew characters.
setKeepLineTosether Sets a value indicating whether a page break is allowed within the paragraph.
setKeepWithNext If this property is set to true, the paragraph is displayed on the same page as its following paragraph.
setLeftIndent Sets the distance, in twips, between the left edge of the Text Control and the left edge of the text.
setLineColor Sets the color used for the frame lines of a paragraph.
setLineSpacing Sets the line spacing of a paragraph as a percentage of the font size.
setPageBreakBefore If this property is set to true, the paragraph is always displayed on top of a page.
setRightIndent Sets the distance, in twips, between the right edge of a Text Control document and the right edge of the text.
setTabPositions Sets an array containing the absolute tab stop positions, in twips, in a paragraph.
setTabTypes Sets an array containing the tab types in a paragraph.
setTopDistance Sets a top distance, in twips, between this and the previous paragraph.
setWidowOrphanLines Sets the number of lines for widow/orphan control.

See Also