Para

Para class

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

new Para()

Constructor.

Methods

NameDescription
deepClone()Creates deep copy of this instance.
getBullet()Determines the bullet style.
getBulletFont()Represents the number of the font used to format the text when a custom bullet string is specified and the value in the
getBulletFontSize()Specifies the size of a bullet.
getBulletStr()“Used to create a custom bullet style. Enter the style as a string (within quotation marks). For example, you could ente
getDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
getFlags()Indicates whether the text direction is left to right or right to left.
getHorzAlign()Specifies the horizontal alignment of text in the shape’s text block.
getIndFirst()Specifies the distance the first line of each paragraph in the shape’s text block is indented from the left indent of th
getIndLeft()Specifies the distance all lines of text in a paragraph are indented from the left margin of the text block. This value
getIndRight()Specifies the distance all lines of text in a paragraph are indented from the right margin of the text block. This value
getIX()The zero-based index of the element within its parent element.
getLocalizeBulletFont()Specifies whether the bullet font should be localized (translated into another language).
getSpAfter()Specifies the amount of space inserted after each paragraph in the shape’s text block.
getSpBefore()Specifies the amount of space inserted before each paragraph in the shape’s text block.
getSpLine()Specifies the distance between one line of text and the next, where 100% is the height of a text line.
getTextPosAfterBullet()Represents the distance between the first line of the paragraph and the bullet.
setBullet()Determines the bullet style.
setBulletFont()Represents the number of the font used to format the text when a custom bullet string is specified and the value in the
setBulletFontSize()Specifies the size of a bullet.
setBulletStr()“Used to create a custom bullet style. Enter the style as a string (within quotation marks). For example, you could ente
setDel()A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
setFlags()Indicates whether the text direction is left to right or right to left.
setHorzAlign()Specifies the horizontal alignment of text in the shape’s text block.
setIndFirst()Specifies the distance the first line of each paragraph in the shape’s text block is indented from the left indent of th
setIndLeft()Specifies the distance all lines of text in a paragraph are indented from the left margin of the text block. This value
setIndRight()Specifies the distance all lines of text in a paragraph are indented from the right margin of the text block. This value
setIX()The zero-based index of the element within its parent element.
setLocalizeBulletFont()Specifies whether the bullet font should be localized (translated into another language).
setSpAfter()Specifies the amount of space inserted after each paragraph in the shape’s text block.
setSpBefore()Specifies the amount of space inserted before each paragraph in the shape’s text block.
setSpLine()Specifies the distance between one line of text and the next, where 100% is the height of a text line.
setTextPosAfterBullet()Represents the distance between the first line of the paragraph and the bullet.

deepClone()

Creates deep copy of this instance.

Returns: Object — Object

getBullet()

Determines the bullet style.

getBulletFont()

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.

getBulletFontSize()

Specifies the size of a bullet.

getBulletStr()

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

getDel()

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.

getFlags()

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

getHorzAlign()

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

getIndFirst()

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.

getIndLeft()

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.

getIndRight()

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.

getIX()

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

getLocalizeBulletFont()

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

getSpAfter()

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

getSpBefore()

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

getSpLine()

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

getTextPosAfterBullet()

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

setBullet()

Determines the bullet style.

setBulletFont()

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.

setBulletFontSize()

Specifies the size of a bullet.

setBulletStr()

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

setDel()

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.

setFlags()

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

setHorzAlign()

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

setIndFirst()

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.

setIndLeft()

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.

setIndRight()

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.

setIX()

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

setLocalizeBulletFont()

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

setSpAfter()

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

setSpBefore()

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

setSpLine()

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

setTextPosAfterBullet()

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