|
|||||||||
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 |