All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.TextEffectFormat.html Maven / Gradle / Ivy






TextEffectFormat




com.aspose.cells
Class TextEffectFormat

java.lang.Object
    extended by com.aspose.cells.TextEffectFormat

public class TextEffectFormat 
extends java.lang.Object

Contains properties and methods that apply to WordArt objects.

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);


Property Getters/Setters Summary
booleangetFontBold()
voidsetFontBold(boolean)
           Indicates whether font is bold.
booleangetFontItalic()
voidsetFontItalic(boolean)
           Indicates whether font is italic.
java.lang.StringgetFontName()
voidsetFontName(java.lang.String)
           The name of the font used in the WordArt.
intgetFontSize()
voidsetFontSize(int)
           The size (in points) of the font used in the WordArt.
intgetPresetShape()
voidsetPresetShape(int)
           Gets and sets the preset shape type. The value of the property is MsoPresetTextEffectShape integer constant.
booleangetRotatedChars()
voidsetRotatedChars(boolean)
           If true,characters in the specified WordArt are rotated 90 degrees relative to the WordArt's bounding shape.
java.lang.StringgetText()
voidsetText(java.lang.String)
           The text in the WordArt.
 
Method Summary
voidsetTextEffect(int effect)
           Sets the preset text effect.
 

Property Getters/Setters Detail

getText/setText

public java.lang.String getText() / public void setText(java.lang.String value)
The text in the WordArt.

setText

public void setText(java.lang.String value)
The text in the WordArt.

getFontName/setFontName

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

setFontName

public void setFontName(java.lang.String value)
The name of the font used in the WordArt.

getFontBold/setFontBold

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

setFontBold

public void setFontBold(boolean value)
Indicates whether font is bold.

getFontItalic/setFontItalic

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

setFontItalic

public void setFontItalic(boolean value)
Indicates whether font is italic.

getRotatedChars/setRotatedChars

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

setRotatedChars

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

getFontSize/setFontSize

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

setFontSize

public void setFontSize(int value)
The size (in points) of the font used in the WordArt.

getPresetShape/setPresetShape

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

setPresetShape

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

Method Detail

setTextEffect

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

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy