public class TextEffectFormat
extends java.lang.Object
Example
//Instantiating a Workbook object
Workbook workbook = new Workbook();
ShapeCollection shapes = workbook.getWorksheets().get(0).getShapes();
shapes.addTextEffect(MsoPresetTextEffect.TEXT_EFFECT_1, "Aspose", "Arial", 30, false, false, 0, 0, 0, 0, 100, 200);
TextEffectFormat textEffectFormat = shapes.get(0).getTextEffect();
textEffectFormat.setTextEffect(MsoPresetTextEffect.TEXT_EFFECT_10);
workbook.save("Book1.xls");
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFontBold()
Indicates whether font is bold.
|
boolean |
getFontItalic()
Indicates whether font is italic.
|
java.lang.String |
getFontName()
The name of the font used in the WordArt.
|
int |
getFontSize()
The size (in points) of the font used in the WordArt.
|
int |
getPresetShape()
Gets the preset shape type.
|
boolean |
getRotatedChars()
If true,characters in the specified WordArt are rotated 90 degrees relative to the WordArt's bounding shape.
|
java.lang.String |
getText()
The text in the WordArt.
|
void |
setFontBold(boolean value)
Indicates whether font is bold.
|
void |
setFontItalic(boolean value)
Indicates whether font is italic.
|
void |
setFontName(java.lang.String value)
The name of the font used in the WordArt.
|
void |
setFontSize(int value)
The size (in points) of the font used in the WordArt.
|
void |
setPresetShape(int value)
Sets the preset shape type.
|
void |
setRotatedChars(boolean value)
If true,characters in the specified WordArt are rotated 90 degrees relative to the WordArt's bounding shape.
|
void |
setText(java.lang.String value)
The text in the WordArt.
|
void |
setTextEffect(int effect)
Sets the preset text effect.
|
public void setTextEffect(int effect)
effect - MsoPresetTextEffect. The preset text effect.public java.lang.String getText()
public void setText(java.lang.String value)
public java.lang.String getFontName()
public void setFontName(java.lang.String value)
public boolean getFontBold()
public void setFontBold(boolean value)
public boolean getFontItalic()
public void setFontItalic(boolean value)
public boolean getRotatedChars()
public void setRotatedChars(boolean value)
public int getFontSize()
public void setFontSize(int value)
public int getPresetShape()
public void setPresetShape(int value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.