ParagraphStyle

ParagraphStyle class

This class describes style of PUB paragraph

public class ParagraphStyle : BaseStyle

Constructors

NameDescription
ParagraphStyle()Constructor

Properties

NameDescription
Align { get; }Alignment type
BottomIndent { get; }Bottom indent
DefaultStyleIndex { get; }Index of default text style in Document.DefaultTextStyles array
FirstLineIndent { get; }First line indent
IsEmpty { get; }Is style not initialized
IsList { get; }Is list paragraph
IsOrderedList { get; }Is paragraph ordered list
LeftIndent { get; }Left indent
LineSpacingType { get; }Type of line spacing
LineSpacingValue { get; }Value of line spacing
RightIndent { get; }Right indent
TopIndent { get; }Top indent value
UnorderedListChar { get; }Character for unordered list in paragraph, if paragraph is an unordered list

Methods

NameDescription
SetAlignmentType(AlignmentType)Sets alignment type
SetBottomIndent(int)Sets bottom indent
SetDefaultStyleIndex(int)Sets index for default text style in Document.DefaultTextStyles array
SetFirstLineIndent(int)Sets first line indent
SetIsList(bool)Sets is paragraph list
SetIsOrderedList(bool)Sets whether paragraph is ordered list
SetLeftIndent(int)Sets left indent
SetLineSpacingType(LineSpacingType)Sets type of line spacing
SetLineSpacingValue(double)Sets value of line spacing
SetRightIndent(int)Sets right indent
SetTopIndent(int)Sets top indent
SetUnorderedListChar(char)Sets character for unordered list in paragraph

See Also