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
| Name | Description |
|---|---|
| Para | Constructor. |
Properties
| Name | Type | Description |
|---|---|---|
| IX | int | The zero-based index of the element within its parent element. |
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| IndFirst | DoubleValue | Specifies the distance the first line of each paragraph in the shape’s text block is indented from the left indent of th |
| IndLeft | DoubleValue | Specifies the distance all lines of text in a paragraph are indented from the left margin of the text block. This value |
| IndRight | DoubleValue | Specifies the distance all lines of text in a paragraph are indented from the right margin of the text block. This value |
| SpLine | DoubleValue | Specifies the distance between one line of text and the next, where 100% is the height of a text line. |
| SpBefore | DoubleValue | Specifies the amount of space inserted before each paragraph in the shape’s text block. |
| SpAfter | DoubleValue | Specifies the amount of space inserted after each paragraph in the shape’s text block. |
| HorzAlign | HorzAlign | Specifies the horizontal alignment of text in the shape’s text block. |
| Bullet | Bullet | Determines the bullet style. |
| BulletStr | Str2Value | “Used to create a custom bullet style. Enter the style as a string (within quotation marks). For example, you could ente |
| BulletFont | IntValue | Represents the number of the font used to format the text when a custom bullet string is specified and the value in the |
| LocalizeBulletFont | LocalizeFont | Specifies whether the bullet font should be localized (translated into another language). |
| BulletFontSize | DoubleValue | Specifies the size of a bullet. |
| TextPosAfterBullet | DoubleValue | Represents the distance between the first line of the paragraph and the bullet. |
| Flags | BoolValue | Indicates whether the text direction is left to right or right to left. |
Methods
| Name | Description |
|---|---|
| deepClone | Creates 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.