asposecells.api
Class TextEffectFormat

Contains properties and methods that apply to WordArt objects.

Example:

# Instantiating a Workbook object
workbook = Workbook()
shapes = workbook.getWorksheets().get(0).getShapes()
shapes.addTextEffect(MsoPresetTextEffect.TEXT_EFFECT_1, "Aspose", "Arial", 30, False, False, 0, 0, 0, 0, 100, 200)
textEffectFormat = shapes.get(0).getTextEffect()
textEffectFormat.setTextEffect(MsoPresetTextEffect.TEXT_EFFECT_10)
workbook.save("Book1.xls")

Property Getters/Setters Summary
methodgetFontBold()
methodsetFontBold(value)
           Indicates whether font is bold.
methodgetFontItalic()
methodsetFontItalic(value)
           Indicates whether font is italic.
methodgetFontName()
methodsetFontName(value)
           The name of the font used in the WordArt.
methodgetFontSize()
methodsetFontSize(value)
           The size (in points) of the font used in the WordArt.
methodgetPresetShape()
methodsetPresetShape(value)
           Gets and sets the preset shape type. The value of the property is MsoPresetTextEffectShape integer constant.
methodgetRotatedChars()
methodsetRotatedChars(value)
           If true,characters in the specified WordArt are rotated 90 degrees relative to the WordArt's bounding shape.
methodgetText()
methodsetText(value)
           The text in the WordArt.
 
Method Summary
methodsetTextEffect(effect)
           Sets the preset text effect.
 

Property Getters/Setters Detail

getText/setText : String 

String getText() / setText(value)
The text in the WordArt.

getFontName/setFontName : String 

String getFontName() / setFontName(value)
The name of the font used in the WordArt.

getFontBold/setFontBold : boolean 

boolean getFontBold() / setFontBold(value)
Indicates whether font is bold.

getFontItalic/setFontItalic : boolean 

boolean getFontItalic() / setFontItalic(value)
Indicates whether font is italic.

getRotatedChars/setRotatedChars : boolean 

boolean getRotatedChars() / setRotatedChars(value)
If true,characters in the specified WordArt are rotated 90 degrees relative to the WordArt's bounding shape.

getFontSize/setFontSize : int 

int getFontSize() / setFontSize(value)
The size (in points) of the font used in the WordArt.

getPresetShape/setPresetShape : int 

int getPresetShape() / setPresetShape(value)
Gets and sets the preset shape type. The value of the property is MsoPresetTextEffectShape integer constant.

Method Detail

setTextEffect

 setTextEffect(effect)
Sets the preset text effect.
Parameters:
effect: int - A MsoPresetTextEffect value. The preset tect effect.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.