wordart-ag凯发旗舰厅



com.spire.doc.fields
class wordart

java.lang.object
  extended by com.spire.doc.fields.wordart

public class wordart
extends java.lang.object

defines the text and formatting of the text path (of a wordart object). use the property to access wordart properties of a shape. you do not create instances of the textpath class directly.


constructor summary
wordart( parent)
           
 
method summary
 boolean getbold()
          gets true if the font is formatted as bold.
 java.lang.string getfontfamily()
          gets the family of the textpath font.
 boolean getitalic()
          gets true if the font is formatted as italic.
 double getsize()
          gets the size of the font in points.
 boolean getsmallcaps()
          gets true if the font is formatted as small capital letters.
 java.lang.string gettext()
          gets the text of the text path.
 void setbold(boolean value)
          sets true if the font is formatted as bold.
 void setfontfamily(java.lang.string value)
          sets the family of the textpath font.
 void setitalic(boolean value)
          gets true if the font is formatted as italic.
 void setsize(double value)
          sets the size of the font in points.
 void setsmallcaps(boolean value)
          sets true if the font is formatted as small capital letters.
 void settext(java.lang.string value)
          sets the text of the text path.
 
constructor detail

wordart

public wordart( parent)
method detail

getfontfamily

public java.lang.string getfontfamily()
gets the family of the textpath font.
returns:
the default value is arial.

setfontfamily

public void setfontfamily(java.lang.string value)
sets the family of the textpath font.
parameters:
value -

getsize

public double getsize()
gets the size of the font in points.
returns:
the default value is 36.

setsize

public void setsize(double value)
sets the size of the font in points.
parameters:
value - double

getbold

public boolean getbold()
gets true if the font is formatted as bold.
returns:
the default value is false.

setbold

public void setbold(boolean value)
sets true if the font is formatted as bold.
parameters:
value - boolean

getitalic

public boolean getitalic()
gets true if the font is formatted as italic.
returns:
the default value is false.

setitalic

public void setitalic(boolean value)
gets true if the font is formatted as italic.
parameters:
value - boolean

getsmallcaps

public boolean getsmallcaps()
gets true if the font is formatted as small capital letters.
returns:
the default value is false.

setsmallcaps

public void setsmallcaps(boolean value)
sets true if the font is formatted as small capital letters.
parameters:
value - boolean

gettext

public java.lang.string gettext()
gets the text of the text path.
returns:
the default value is an empty string.

settext

public void settext(java.lang.string value)
sets the text of the text path.
parameters:
value - string


网站地图