Para

Para class

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

Constructors

NameDescription
ParaConstructor.

Properties

NameTypeDescription
IXintThe zero-based index of the element within its parent element.
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
IndFirstDoubleValueSpecifies the distance the first line of each paragraph in the shape’s text block is indented from the left indent of th
IndLeftDoubleValueSpecifies the distance all lines of text in a paragraph are indented from the left margin of the text block. This value
IndRightDoubleValueSpecifies the distance all lines of text in a paragraph are indented from the right margin of the text block. This value
SpLineDoubleValueSpecifies the distance between one line of text and the next, where 100% is the height of a text line.
SpBeforeDoubleValueSpecifies the amount of space inserted before each paragraph in the shape’s text block.
SpAfterDoubleValueSpecifies the amount of space inserted after each paragraph in the shape’s text block.
HorzAlignHorzAlignSpecifies the horizontal alignment of text in the shape’s text block.
BulletBulletDetermines the bullet style.
BulletStrStr2Value“Used to create a custom bullet style. Enter the style as a string (within quotation marks). For example, you could ente
BulletFontIntValueRepresents the number of the font used to format the text when a custom bullet string is specified and the value in the
LocalizeBulletFontLocalizeFontSpecifies whether the bullet font should be localized (translated into another language).
BulletFontSizeDoubleValueSpecifies the size of a bullet.
TextPosAfterBulletDoubleValueRepresents the distance between the first line of the paragraph and the bullet.
FlagsBoolValueIndicates whether the text direction is left to right or right to left.

Methods

NameDescription
deepCloneCreates deep copy of this instance.

Para()

Constructor.

Para.IX property

The zero-based index of the element within its parent element.

Type: int

Para.Del property

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

Type: int

Para.IndFirst property

Specifies 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.

Type: DoubleValue

Para.IndLeft property

Specifies 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.

Type: DoubleValue

Para.IndRight property

Specifies 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.

Type: DoubleValue

Para.SpLine property

Specifies the distance between one line of text and the next, where 100% is the height of a text line.

Type: DoubleValue

Para.SpBefore property

Specifies the amount of space inserted before each paragraph in the shape’s text block.

Type: DoubleValue

Para.SpAfter property

Specifies the amount of space inserted after each paragraph in the shape’s text block.

Type: DoubleValue

Para.HorzAlign property

Specifies the horizontal alignment of text in the shape’s text block.

Type: HorzAlign

Para.Bullet property

Determines the bullet style.

Type: Bullet

Para.BulletStr property

“Used to create a custom bullet style. Enter the style as a string (within quotation marks). For example, you could enter the string, ““ooo.”””

Type: Str2Value

Para.BulletFont property

Represents 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.

Type: IntValue

Para.LocalizeBulletFont property

Specifies whether the bullet font should be localized (translated into another language).

Type: LocalizeFont

Para.BulletFontSize property

Specifies the size of a bullet.

Type: DoubleValue

Para.TextPosAfterBullet property

Represents the distance between the first line of the paragraph and the bullet.

Type: DoubleValue

Para.Flags property

Indicates whether the text direction is left to right or right to left.

Type: BoolValue

deepClone()

Creates deep copy of this instance.