aspose.diagram
Class Para

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

Constructor Summary
Para()
           Constructor.
 
Property Getters/Setters Summary
functiongetBullet()
functionsetBullet(value)
           Determines the bullet style.
functiongetBulletFont()
functionsetBulletFont(value)
           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.
functiongetBulletFontSize()
functionsetBulletFontSize(value)
           Specifies the size of a bullet.
functiongetBulletStr()
functionsetBulletStr(value)
           "Used to create a custom bullet style. Enter the style as a string (within quotation marks). For example, you could enter the string, ""ooo."""
functiongetDel()
functionsetDel(value)
           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.
functiongetFlags()
functionsetFlags(value)
           Indicates whether the text direction is left to right or right to left.
functiongetHorzAlign()
functionsetHorzAlign(value)
           Specifies the horizontal alignment of text in the shape's text block.
functiongetIndFirst()
functionsetIndFirst(value)
           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.
functiongetIndLeft()
functionsetIndLeft(value)
           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.
functiongetIndRight()
functionsetIndRight(value)
           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.
functiongetIX()
functionsetIX(value)
           The zero-based index of the element within its parent element.
functiongetLocalizeBulletFont()
functionsetLocalizeBulletFont(value)
           Specifies whether the bullet font should be localized (translated into another language).
functiongetSpAfter()
functionsetSpAfter(value)
           Specifies the amount of space inserted after each paragraph in the shape's text block.
functiongetSpBefore()
functionsetSpBefore(value)
           Specifies the amount of space inserted before each paragraph in the shape's text block.
functiongetSpLine()
functionsetSpLine(value)
           Specifies the distance between one line of text and the next, where 100% is the height of a text line.
functiongetTextPosAfterBullet()
functionsetTextPosAfterBullet(value)
           Represents the distance between the first line of the paragraph and the bullet.
 
Method Summary
functiondeepClone()
           Creates deep copy of this instance.
 

Constructor Detail

Para

function Para()
Constructor.

Property Getters/Setters Detail

getIX/setIX : Number 

function getIX() / function setIX(value)
The zero-based index of the element within its parent element.

getDel/setDel : Number 

function getDel() / function setDel(value)
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.

getIndFirst/setIndFirst : DoubleValue 

function getIndFirst() / function setIndFirst(value)
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/setIndLeft : DoubleValue 

function getIndLeft() / function setIndLeft(value)
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/setIndRight : DoubleValue 

function getIndRight() / function setIndRight(value)
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.

getSpLine/setSpLine : DoubleValue 

function getSpLine() / function setSpLine(value)
Specifies the distance between one line of text and the next, where 100% is the height of a text line.

getSpBefore/setSpBefore : DoubleValue 

function getSpBefore() / function setSpBefore(value)
Specifies the amount of space inserted before each paragraph in the shape's text block.

getSpAfter/setSpAfter : DoubleValue 

function getSpAfter() / function setSpAfter(value)
Specifies the amount of space inserted after each paragraph in the shape's text block.

getHorzAlign/setHorzAlign : HorzAlign 

function getHorzAlign() / function setHorzAlign(value)
Specifies the horizontal alignment of text in the shape's text block.

getBullet/setBullet : Bullet 

function getBullet() / function setBullet(value)
Determines the bullet style.

getBulletStr/setBulletStr : Str2Value 

function getBulletStr() / function setBulletStr(value)
"Used to create a custom bullet style. Enter the style as a string (within quotation marks). For example, you could enter the string, ""ooo."""

getBulletFont/setBulletFont : IntValue 

function getBulletFont() / function setBulletFont(value)
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.

getLocalizeBulletFont/setLocalizeBulletFont : LocalizeFont 

function getLocalizeBulletFont() / function setLocalizeBulletFont(value)
Specifies whether the bullet font should be localized (translated into another language).

getBulletFontSize/setBulletFontSize : DoubleValue 

function getBulletFontSize() / function setBulletFontSize(value)
Specifies the size of a bullet.

getTextPosAfterBullet/setTextPosAfterBullet : DoubleValue 

function getTextPosAfterBullet() / function setTextPosAfterBullet(value)
Represents the distance between the first line of the paragraph and the bullet.

getFlags/setFlags : BoolValue 

function getFlags() / function setFlags(value)
Indicates whether the text direction is left to right or right to left.

Method Detail

deepClone

function deepClone()
Creates deep copy of this instance.
Returns:

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.