|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.formatting.FormatBase
com.spire.doc.formatting.AttrCollection
com.spire.doc.formatting.WordAttrCollection
com.spire.doc.formatting.TextBoxFormat
public class TextBoxFormat
Constructor Summary | |
---|---|
TextBoxFormat(TextBox txtBox)
Initializes a new instance of the |
Method Summary | |
---|---|
TextBoxFormat |
deepClone()
Clone textbox format. |
java.awt.Color |
getFillColor()
Gets or sets the fill color of the textbox. |
Background |
getFillEffects()
Gets the fill effects. |
float |
getHeight()
Get/set textbox height |
ShapeHorizontalAlignment |
getHorizontalAlignment()
Get/set textbox horizontal alignment |
HorizontalOrigin |
getHorizontalOrigin()
Get/set horizontal origin |
float |
getHorizontalPosition()
Get/set textbox horizontal position |
InternalMargin |
getInternalMargin()
Gets the internal margin. |
TextDirection |
getLayoutFlowAlt()
Gets or sets the text direction of the textbox. |
java.awt.Color |
getLineColor()
Get/set line color. |
LineDashing |
getLineDashing()
Get/set line dashing for textbox |
TextBoxLineStyle |
getLineStyle()
Get/set text box linestyle |
float |
getLineWidth()
Get/set textbox line width |
boolean |
getNoLine()
Get/set value which defines if there is a line around textbox shape |
ShapeVerticalAlignment |
getTextAnchor()
Gets or sets the vertical anchoring of text. |
TextWrappingStyle |
getTextWrappingStyle()
Get/set text Wrapping style |
TextWrappingType |
getTextWrappingType()
Get/set wrapping type for textbox |
ShapeVerticalAlignment |
getVerticalAlignment()
Get/set textbox vertical alignment |
VerticalOrigin |
getVerticalOrigin()
Get/set vertical origin |
float |
getVerticalPosition()
Get/set textbox vertical position |
float |
getWidth()
Get/set textbox width |
boolean |
isFitShapeToText()
Gets or Sets a value. |
void |
isFitShapeToText(boolean value)
Gets or Sets a value. |
void |
setFillColor(java.awt.Color value)
Gets or sets the fill color of the textbox. |
void |
setHeight(float value)
Get/set textbox height |
void |
setHorizontalAlignment(ShapeHorizontalAlignment value)
Get/set textbox horizontal alignment |
void |
setHorizontalOrigin(HorizontalOrigin value)
Get/set horizontal origin |
void |
setHorizontalPosition(float value)
Get/set textbox horizontal position |
void |
setLayoutFlowAlt(TextDirection value)
Gets or sets the text direction of the textbox. |
void |
setLineColor(java.awt.Color value)
Get/set line color. |
void |
setLineDashing(LineDashing value)
Get/set line dashing for textbox |
void |
setLineStyle(TextBoxLineStyle value)
Get/set text box linestyle |
void |
setLineWidth(float value)
Get/set textbox line width |
void |
setNoLine(boolean value)
Get/set value which defines if there is a line around textbox shape |
void |
setTextAnchor(ShapeVerticalAlignment value)
Gets or sets the vertical anchoring of text. |
void |
setTextWrappingStyle(TextWrappingStyle value)
Get/set text Wrapping style |
void |
setTextWrappingType(TextWrappingType value)
Get/set wrapping type for textbox |
void |
setVerticalAlignment(ShapeVerticalAlignment value)
Get/set textbox vertical alignment |
void |
setVerticalOrigin(VerticalOrigin value)
Get/set vertical origin |
void |
setVerticalPosition(float value)
Get/set textbox vertical position |
void |
setWidth(float value)
Get/set textbox width |
Methods inherited from class com.spire.doc.formatting.FormatBase |
---|
clearBackground, clearFormatting, hasKey, isDefault |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Constructor Detail |
---|
public TextBoxFormat(TextBox txtBox)
txtBox
- the parent textbox.Method Detail |
---|
public HorizontalOrigin getHorizontalOrigin()
public void setHorizontalOrigin(HorizontalOrigin value)
public VerticalOrigin getVerticalOrigin()
public void setVerticalOrigin(VerticalOrigin value)
public java.awt.Color getFillColor()
public void setFillColor(java.awt.Color value)
public Background getFillEffects()
public TextBoxLineStyle getLineStyle()
public void setLineStyle(TextBoxLineStyle value)
public float getWidth()
public void setWidth(float value)
public float getHeight()
public void setHeight(float value)
public java.awt.Color getLineColor()
public void setLineColor(java.awt.Color value)
public boolean getNoLine()
public void setNoLine(boolean value)
public float getHorizontalPosition()
public void setHorizontalPosition(float value)
public boolean isFitShapeToText()
public void isFitShapeToText(boolean value)
public float getVerticalPosition()
public void setVerticalPosition(float value)
public TextWrappingStyle getTextWrappingStyle()
public void setTextWrappingStyle(TextWrappingStyle value)
public TextWrappingType getTextWrappingType()
public void setTextWrappingType(TextWrappingType value)
public float getLineWidth()
public void setLineWidth(float value)
public LineDashing getLineDashing()
public void setLineDashing(LineDashing value)
public ShapeHorizontalAlignment getHorizontalAlignment()
public void setHorizontalAlignment(ShapeHorizontalAlignment value)
public ShapeVerticalAlignment getVerticalAlignment()
public void setVerticalAlignment(ShapeVerticalAlignment value)
public TextDirection getLayoutFlowAlt()
public void setLayoutFlowAlt(TextDirection value)
public ShapeVerticalAlignment getTextAnchor()
public void setTextAnchor(ShapeVerticalAlignment value)
public InternalMargin getInternalMargin()
public TextBoxFormat deepClone()
deepClone
in class AttrCollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |