|
|||||||||
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 TextBoxFormat class. |
Method Summary | |
---|---|
TextBoxFormat |
deepClone()
Clone textbox format. |
java.awt.Color |
getFillColor()
Gets the fill color of the textbox. |
Background |
getFillEfects()
Gets the fill effects. |
float |
getHeight()
Get textbox height |
ShapeHorizontalAlignment |
getHorizontalAlignment()
Get textbox horizontal alignment |
HorizontalOrigin |
getHorizontalOrigin()
Get horizontal origin |
float |
getHorizontalPosition()
Get textbox horizontal position |
InternalMargin |
getInternalMargin()
Gets the internal margin. |
TextDirection |
getLayoutFlowAlt()
Gets the text direction of the textbox. |
java.awt.Color |
getLineColor()
Get line color. |
LineDashing |
getLineDashing()
Get line dashing for textbox |
TextBoxLineStyle |
getLineStyle()
Get text box linestyle |
float |
getLineWidth()
Get textbox line width |
boolean |
getNoLine()
Get value which defines if there is a line around textbox shape. |
ShapeVerticalAlignment |
getTextAnchor()
Gets the vertical anchoring of text. |
TextWrappingStyle |
getTextWrappingStyle()
Get text Wrapping style |
TextWrappingType |
getTextWrappingType()
Get wrapping type for textbox |
ShapeVerticalAlignment |
getVerticalAlignment()
Get textbox vertical alignment |
VerticalOrigin |
getVerticalOrigin()
Get vertical origin |
float |
getVerticalPosition()
Get textbox vertical position |
float |
getWidth()
Get textbox width |
boolean |
isFitShapeToText()
Gets a value.Specifies whether the spape stretches to fit the text in the textbox. |
void |
isFitShapeToText(boolean value)
Sets a value.Specifies whether the spape stretches to fit the text in the textbox. |
void |
setFillColor(java.awt.Color value)
Sets the fill color of the textbox. |
void |
setHeight(float value)
Set textbox height |
void |
setHorizontalAlignment(ShapeHorizontalAlignment value)
Set textbox horizontal alignment |
void |
setHorizontalOrigin(HorizontalOrigin value)
Set horizontal origin |
void |
setHorizontalPosition(float value)
Set textbox horizontal position |
void |
setLayoutFlowAlt(TextDirection value)
Sets the text direction of the textbox. |
void |
setLineColor(java.awt.Color color)
Set line color. |
void |
setLineDashing(LineDashing value)
Set line dashing for textbox |
void |
setLineStyle(TextBoxLineStyle value)
Set text box linestyle |
void |
setLineWidth(float value)
Set textbox line width |
void |
setNoLine(boolean value)
Set value which defines if there is a line around textbox shape. |
void |
setTextAnchor(ShapeVerticalAlignment value)
Sets the vertical anchoring of text. |
void |
setTextWrappingStyle(TextWrappingStyle value)
Set text Wrapping style |
void |
setTextWrappingType(TextWrappingType value)
Set wrapping type for textbox |
void |
setVerticalAlignment(ShapeVerticalAlignment value)
Set textbox vertical alignment |
void |
setVerticalOrigin(VerticalOrigin value)
Set vertical origin |
void |
setVerticalPosition(float value)
Set textbox vertical position |
void |
setWidth(float value)
Set textbox width |
Methods inherited from class com.spire.doc.formatting.FormatBase |
---|
clearFormatting, hasKey, isDefault |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Constructor Detail |
---|
public TextBoxFormat(TextBox txtBox)
TextBoxFormat
class.
txtBox
- TextBoxMethod Detail |
---|
public HorizontalOrigin getHorizontalOrigin()
public void setHorizontalOrigin(HorizontalOrigin value)
value
- HorizontalOriginpublic VerticalOrigin getVerticalOrigin()
public void setVerticalOrigin(VerticalOrigin value)
value
- VerticalOriginpublic java.awt.Color getFillColor()
public void setFillColor(java.awt.Color value)
value
- colorpublic Background getFillEfects()
public TextBoxLineStyle getLineStyle()
public void setLineStyle(TextBoxLineStyle value)
value
- TextBoxLineStylepublic float getWidth()
public void setWidth(float value)
value
- textbox widthpublic float getHeight()
public void setHeight(float value)
value
- textbox heightpublic java.awt.Color getLineColor()
public void setLineColor(java.awt.Color color)
color
- colorpublic boolean getNoLine()
public void setNoLine(boolean value)
value
- no linepublic float getHorizontalPosition()
public void setHorizontalPosition(float value)
value
- HorizontalPosition float valuepublic boolean isFitShapeToText()
public void isFitShapeToText(boolean value)
value
- Default is false.public float getVerticalPosition()
public void setVerticalPosition(float value)
value
- VerticalPosition float valuepublic TextWrappingStyle getTextWrappingStyle()
public void setTextWrappingStyle(TextWrappingStyle value)
value
- TextWrappingStylepublic TextWrappingType getTextWrappingType()
public void setTextWrappingType(TextWrappingType value)
value
- TextWrappingTypepublic float getLineWidth()
public void setLineWidth(float value)
value
- textbox line widthpublic LineDashing getLineDashing()
public void setLineDashing(LineDashing value)
value
- LineDashingpublic ShapeHorizontalAlignment getHorizontalAlignment()
public void setHorizontalAlignment(ShapeHorizontalAlignment value)
value
- ShapeHorizontalAlignmentpublic ShapeVerticalAlignment getVerticalAlignment()
public void setVerticalAlignment(ShapeVerticalAlignment value)
value
- ShapeVerticalAlignmentpublic TextDirection getLayoutFlowAlt()
public void setLayoutFlowAlt(TextDirection value)
value
- TextDirectionpublic ShapeVerticalAlignment getTextAnchor()
public void setTextAnchor(ShapeVerticalAlignment value)
value
- Default is top.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 |