Para class

Para class

Contains the paragraph formatting elements for the shape’s text, such as indents, line spacing, bullets, and horizontal alignment of paragraphs.

The Para type exposes the following members:

Constructors

ConstructorDescription
Para()Constructor.

Properties

PropertyDescription
ixThe zero-based index of the element within its parent element.
ind_firstSpecifies the distance the first line of each paragraph in the shape’s text block is indented from the left indent of the paragraph. This value is independent of the scale of the drawing. If the drawing is scaled, the first line indent remains the same.
ind_leftSpecifies the distance all lines of text in a paragraph are indented from the left margin of the text block. This value is independent of the scale of the drawing. If the drawing is scaled, the left indent remains the same.
ind_rightSpecifies the distance all lines of text in a paragraph are indented from the right margin of the text block. This value is independent of the scale of the drawing. If the drawing is scaled, the right indent remains the same.
sp_lineSpecifies the distance between one line of text and the next, where 100% is the height of a text line.
sp_beforeSpecifies the amount of space inserted before each paragraph in the shape’s text block.
sp_afterSpecifies the amount of space inserted after each paragraph in the shape’s text block.
horz_alignSpecifies the horizontal alignment of text in the shape’s text block.
bulletDetermines the bullet style.
bullet_str“Used to create a custom bullet style. Enter the style as a string (within quotation marks). For example, you could enter the string, ““ooo.”””
bullet_fontRepresents the number of the font used to format the text when a custom bullet string is specified and the value in the Bullet element is non-zero.
localize_bullet_fontSpecifies whether the bullet font should be localized (translated into another language).
bullet_font_sizeSpecifies the size of a bullet.
text_pos_after_bulletRepresents the distance between the first line of the paragraph and the bullet.
flagsIndicates whether the text direction is left to right or right to left.

Methods

MethodDescription
clone()Creates deep copy of this instance.

See Also