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 class directly.


Method Summary
 boolean getBold()
          True if the font is formatted as bold.
 java.lang.String getFontFamily()
          Defines the family of the textpath font.
 boolean getItalic()
          True if the font is formatted as italic.
 double getSize()
          Defines the size of the font in points.
 boolean getSmallCaps()
          True if the font is formatted as small capital letters.
 java.lang.String getText()
          The default value is an empty string.
 void setBold(boolean value)
          True if the font is formatted as bold.
 void setFontFamily(java.lang.String value)
          Defines the family of the textpath font.
 void setItalic(boolean value)
          True if the font is formatted as italic.
 void setSize(double value)
          Defines the size of the font in points.
 void setSmallCaps(boolean value)
          True if the font is formatted as small capital letters.
 void setText(java.lang.String value)
          The default value is an empty string.
 

Method Detail

getFontFamily

public java.lang.String getFontFamily()
Defines the family of the textpath font.

The default value is Arial.


setFontFamily

public void setFontFamily(java.lang.String value)
Defines the family of the textpath font.

The default value is Arial.


getSize

public double getSize()
Defines the size of the font in points.

The default value is 36.


setSize

public void setSize(double value)
Defines the size of the font in points.

The default value is 36.


getBold

public boolean getBold()
True if the font is formatted as bold.

The default value is false.


setBold

public void setBold(boolean value)
True if the font is formatted as bold.

The default value is false.


getItalic

public boolean getItalic()
True if the font is formatted as italic.

The default value is false.


setItalic

public void setItalic(boolean value)
True if the font is formatted as italic.

The default value is false.


getSmallCaps

public boolean getSmallCaps()
True if the font is formatted as small capital letters.

The default value is false.


setSmallCaps

public void setSmallCaps(boolean value)
True if the font is formatted as small capital letters.

The default value is false.


getText

public java.lang.String getText()

The default value is an empty string.


setText

public void setText(java.lang.String value)

The default value is an empty string.