java.lang.Object
com.aspose.diagram.TextBlock
- All Implemented Interfaces:
- java.lang.Cloneable
public class TextBlock
- extends java.lang.Object
Contains elements that specify the alignment, margins, and default tab stop positions of text in a shape's text block.
|
Method Summary |
java.lang.Object | deepClone() | |
|
Creates deep copy of this instance.
|
|
Property Getters/Setters Detail |
getDel/setDel | |
public int getDel() / public void setDel(int 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.
-
Specifies the distance between the left border of the text block and the text it contains. This value is independent of the scale of the drawing. If the drawing is scaled, the left margin remains the same.
getRightMargin/setRightMargin | |
public DoubleValue getRightMargin() / public void setRightMargin(DoubleValue value)
|
-
Specifies the distance between the right border of the text block and the text it contains. This value is independent of the scale of the drawing. If the drawing is scaled, the right margin remains the same.
-
Specifies the distance between the top border of the text block and the first line of text it contains.
getBottomMargin/setBottomMargin | |
public DoubleValue getBottomMargin() / public void setBottomMargin(DoubleValue value)
|
-
Determines the distance between the bottom border of the text block and the last line of text it contains. The default is 4 pt. This value is independent of the scale of the drawing. If the drawing is scaled, the bottom margin remains the same.
-
Specifies the vertical alignment of text within the text block.
getTextBkgnd/setTextBkgnd | |
public ColorValue getTextBkgnd() / public void setTextBkgnd(ColorValue value)
|
-
Specifies the text background color for a shape.
getDefaultTabStop/setDefaultTabStop | |
public DoubleValue getDefaultTabStop() / public void setDefaultTabStop(DoubleValue value)
|
-
Specifies the interval of the default tab stops in a text block.
-
Specifies the direction of the characters in a text block.
getTextBkgndTrans/setTextBkgndTrans | |
public DoubleValue getTextBkgndTrans() / public void setTextBkgndTrans(DoubleValue value)
|
-
Specifies the transparency level for the background color of a shape's text block, from 0 (completely opaque) to 1 (completely transparent).
deepClone | |
public java.lang.Object deepClone()
throws java.lang.Exception |
-
Creates deep copy of this instance.
- Returns:
See Also:
Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
Aspose.Diagram Support Forum - our preferred method of support.