Example:
//Instantiating a Workbook object $workbook = new cells\Workbook(); $shapes = $workbook->getWorksheets()->get(0)->getShapes(); $shapes->addTextEffect(cells\MsoPresetTextEffect::TEXT_EFFECT_1, "Aspose", "Arial", 30, false, false, 0, 0, 0, 0, 100, 200); $textEffectFormat = $shapes->get(0)->getTextEffect(); $textEffectFormat->setTextEffect(cells\MsoPresetTextEffect::TEXT_EFFECT_10);
Property Getters/Setters Summary | ||
---|---|---|
function | getFontBold() | |
function | setFontBold(value) | |
Indicates whether font is bold. | ||
function | getFontItalic() | |
function | setFontItalic(value) | |
Indicates whether font is italic. | ||
function | getFontName() | |
function | setFontName(value) | |
The name of the font used in the WordArt. | ||
function | getFontSize() | |
function | setFontSize(value) | |
The size (in points) of the font used in the WordArt. | ||
function | getPresetShape() | |
function | setPresetShape(value) | |
Gets and sets the preset shape type. The value of the property is MsoPresetTextEffectShape integer constant. | ||
function | getRotatedChars() | |
function | setRotatedChars(value) | |
If true,characters in the specified WordArt are rotated 90 degrees relative to the WordArt's bounding shape. | ||
function | getText() | |
function | setText(value) | |
The text in the WordArt. |
Method Summary | ||
---|---|---|
function | setTextEffect(effect) | |
Sets the preset text effect.
|
function getText() / function setText(value)
function getFontName() / function setFontName(value)
function getFontBold() / function setFontBold(value)
function getFontItalic() / function setFontItalic(value)
function getRotatedChars() / function setRotatedChars(value)
function getFontSize() / function setFontSize(value)
function getPresetShape() / function setPresetShape(value)
function setTextEffect(effect)
effect: Number
- A