IParagraphFormat

IParagraphFormat class

This class contains the paragraph formatting properties. Unlike IParagraphFormatEffectiveData, all properties of this class are writeable.

The IParagraphFormat type exposes the following members:

Properties

Name Description
bullet Returns bullet format of the paragraph.
Read-only IBulletFormat.
depth Returns or sets depth of the paragraph.
Value 0 means undefined value.
Read/write int.
alignment Returns or sets the text alignment in a paragraph with no inheritance.
Read/write TextAlignment.
space_within Returns or sets the amount of space between base lines in a paragraph. Positive value means percentage, negative - size in points. No inheritance applied.
Read/write
space_before Returns or sets the amount of space before the first line in a paragraph with no inheritance.
A positive value specifies the percentage of the font size that the white space should be.
A negative value specifies the size of the white space in point size.
Read/write
space_after Returns or sets the amount of space after the last line in a paragraph with no inheritance.
A positive value specifies the percentage of the font size that the white space should be.
A negative value specifies the size of the white space in point size.
Read/write
east_asian_line_break Determines whether the East Asian line break is used in a paragraph. No inheritance applied.
Read/write NullableBool.
right_to_left Determines whether the Right to Left writing is used in a paragraph. No inheritance applied.
Read/write NullableBool.
latin_line_break Determines whether the Latin line break is used in a paragraph. No inheritance applied.
Read/write NullableBool.
hanging_punctuation Determines whether the hanging punctuation is used in a paragraph. No inheritance applied.
Read/write NullableBool.
margin_left Returns or sets the left margin in a paragraph with no inheritance.
Read/write
margin_right Returns or sets the right margin in a paragraph with no inheritance.
Read/write
indent Returns or sets paragraph First Line Indent/Hanging Indent with no inheritance. Hanging Indent can be defined with negative values.
Read/write
default_tab_size Returns or sets default tabulation size with no inheritance.
Read/write
tabs Returns tabulations of a paragraph. No inheritance applied.
Read-only ITabCollection.
font_alignment Returns or sets a font alignment in a paragraph with no inheritance.
Read/write FontAlignment.
default_portion_format Returns default portion format of a paragraph. No inheritance applied.
Read-only IPortionFormat.

Methods

Name Description
get_effective() Gets effective paragraph formatting data with the inheritance applied.

See Also