textboxformat-ag凯发旗舰厅



com.spire.doc.formatting
class textboxformat

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.formatting.formatbase
              extended by com.spire.doc.formatting.attrcollection
                  extended by com.spire.doc.formatting.wordattrcollection
                      extended by com.spire.doc.formatting.textboxformat

public class textboxformat
extends wordattrcollection

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

textboxformat

public textboxformat(textbox txtbox)
initializes a new instance of the textboxformat class.
parameters:
txtbox - textbox
method detail

gethorizontalorigin

public horizontalorigin gethorizontalorigin()
get horizontal origin
returns:
horizontalorigin

sethorizontalorigin

public void sethorizontalorigin(horizontalorigin value)
set horizontal origin
parameters:
value - horizontalorigin

getverticalorigin

public verticalorigin getverticalorigin()
get vertical origin
returns:
verticalorigin

setverticalorigin

public void setverticalorigin(verticalorigin value)
set vertical origin
parameters:
value - verticalorigin

getfillcolor

public java.awt.color getfillcolor()
gets the fill color of the textbox.
returns:
color

setfillcolor

public void setfillcolor(java.awt.color value)
sets the fill color of the textbox.
parameters:
value - color

getfillefects

public background getfillefects()
gets the fill effects.
returns:
background

getlinestyle

public textboxlinestyle getlinestyle()
get text box linestyle
returns:
textboxlinestyle

setlinestyle

public void setlinestyle(textboxlinestyle value)
set text box linestyle
parameters:
value - textboxlinestyle

getwidth

public float getwidth()
get textbox width
returns:
textbox width

setwidth

public void setwidth(float value)
set textbox width
parameters:
value - textbox width

getheight

public float getheight()
get textbox height
returns:
textbox height

setheight

public void setheight(float value)
set textbox height
parameters:
value - textbox height

getlinecolor

public java.awt.color getlinecolor()
get line color.
returns:
color

setlinecolor

public void setlinecolor(java.awt.color color)
set line color.
parameters:
color - color

getnoline

public boolean getnoline()
get value which defines if there is a line around textbox shape.
returns:
no line

setnoline

public void setnoline(boolean value)
set value which defines if there is a line around textbox shape.
parameters:
value - no line

gethorizontalposition

public float gethorizontalposition()
get textbox horizontal position
returns:
horizontalposition float value

sethorizontalposition

public void sethorizontalposition(float value)
set textbox horizontal position
parameters:
value - horizontalposition float value

isfitshapetotext

public boolean isfitshapetotext()
gets a value.specifies whether the spape stretches to fit the text in the textbox.
returns:
default is false.

isfitshapetotext

public void isfitshapetotext(boolean value)
sets a value.specifies whether the spape stretches to fit the text in the textbox.
parameters:
value - default is false.

getverticalposition

public float getverticalposition()
get textbox vertical position
returns:
verticalposition float value

setverticalposition

public void setverticalposition(float value)
set textbox vertical position
parameters:
value - verticalposition float value

gettextwrappingstyle

public textwrappingstyle gettextwrappingstyle()
get text wrapping style
returns:
textwrappingstyle

settextwrappingstyle

public void settextwrappingstyle(textwrappingstyle value)
set text wrapping style
parameters:
value - textwrappingstyle

gettextwrappingtype

public textwrappingtype gettextwrappingtype()
get wrapping type for textbox
returns:
textwrappingtype

settextwrappingtype

public void settextwrappingtype(textwrappingtype value)
set wrapping type for textbox
parameters:
value - textwrappingtype

getlinewidth

public float getlinewidth()
get textbox line width
returns:
textbox line width

setlinewidth

public void setlinewidth(float value)
set textbox line width
parameters:
value - textbox line width

getlinedashing

public linedashing getlinedashing()
get line dashing for textbox
returns:
linedashing

setlinedashing

public void setlinedashing(linedashing value)
set line dashing for textbox
parameters:
value - linedashing

gethorizontalalignment

public shapehorizontalalignment gethorizontalalignment()
get textbox horizontal alignment
returns:
shapehorizontalalignment

sethorizontalalignment

public void sethorizontalalignment(shapehorizontalalignment value)
set textbox horizontal alignment
parameters:
value - shapehorizontalalignment

getverticalalignment

public shapeverticalalignment getverticalalignment()
get textbox vertical alignment
returns:
shapeverticalalignment

setverticalalignment

public void setverticalalignment(shapeverticalalignment value)
set textbox vertical alignment
parameters:
value - shapeverticalalignment

getlayoutflowalt

public textdirection getlayoutflowalt()
gets the text direction of the textbox.
returns:
textdirection

setlayoutflowalt

public void setlayoutflowalt(textdirection value)
sets the text direction of the textbox.
parameters:
value - textdirection

gettextanchor

public shapeverticalalignment gettextanchor()
gets the vertical anchoring of text.
returns:
default is top.

settextanchor

public void settextanchor(shapeverticalalignment value)
sets the vertical anchoring of text.
parameters:
value - default is top.

getinternalmargin

public internalmargin getinternalmargin()
gets the internal margin.
returns:
the internal margin.

deepclone

public textboxformat deepclone()
clone textbox format.
overrides:
deepclone in class attrcollection


网站地图