public class TextBlock
Property Getters/Setters Summary | ||
---|---|---|
DoubleValue | getBottomMargin() | |
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. | ||
DoubleValue | getDefaultTabStop() | |
void | setDefaultTabStop(DoubleValue value) | |
Specifies the interval of the default tab stops in a text block. | ||
int | getDel() | |
void | setDel(intvalue) | |
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. | ||
DoubleValue | getLeftMargin() | |
void | setLeftMargin(DoubleValue value) | |
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. | ||
DoubleValue | getRightMargin() | |
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. | ||
ColorValue | getTextBkgnd() | |
void | setTextBkgnd(ColorValue value) | |
Specifies the text background color for a shape. | ||
DoubleValue | getTextBkgndTrans() | |
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). | ||
TextDirection | getTextDirection() | |
void | setTextDirection(TextDirection value) | |
Specifies the direction of the characters in a text block. | ||
DoubleValue | getTopMargin() | |
void | setTopMargin(DoubleValue value) | |
Specifies the distance between the top border of the text block and the first line of text it contains. | ||
VerticalAlign | getVerticalAlign() | |
void | setVerticalAlign(VerticalAlign value) | |
Specifies the vertical alignment of text within the text block. |
Method Summary | ||
---|---|---|
java.lang.Object | deepClone() | |
Creates deep copy of this instance.
|
public int getDel() / public void setDel(int value)
public DoubleValue getLeftMargin() / public void setLeftMargin(DoubleValue value)
public DoubleValue getRightMargin() / public void setRightMargin(DoubleValue value)
public DoubleValue getTopMargin() / public void setTopMargin(DoubleValue value)
public DoubleValue getBottomMargin() / public void setBottomMargin(DoubleValue value)
public VerticalAlign getVerticalAlign() / public void setVerticalAlign(VerticalAlign value)
public ColorValue getTextBkgnd() / public void setTextBkgnd(ColorValue value)
public DoubleValue getDefaultTabStop() / public void setDefaultTabStop(DoubleValue value)
public TextDirection getTextDirection() / public void setTextDirection(TextDirection value)
public DoubleValue getTextBkgndTrans() / public void setTextBkgndTrans(DoubleValue value)