public class TextStyle extends Object
Class representing checkbox field
Modifier and Type | Method and Description |
---|---|
int |
getAlignment()
Deprecated.
|
Color |
getColor()
Get the Color of the text.
|
String |
getFontName()
Get the Name of the font.
|
double |
getFontSize()
Get the Fonts size.
|
int |
getHorizontalAlignment()
Text alignment.
|
void |
setAlignment(int value)
Deprecated.
|
void |
setColor(Color value)
Set the Color of the text.
|
void |
setFontName(String value)
Set the Name of the font.
|
void |
setFontSize(double value)
Set the Fonts size.
|
void |
setHorizontalAlignment(int value) |
String |
toString()
String representation of TextStyle.
|
public String getFontName()
Get the Name of the font.
public void setFontName(String value)
Set the Name of the font.
public double getFontSize()
Get the Fonts size.
public void setFontSize(double value)
Set the Fonts size.
@Deprecated public int getAlignment()
Gets horizontal alignment of the text.
@Deprecated public void setAlignment(int value)
Sets horizontal alignment of the text.
public int getHorizontalAlignment()
Text alignment. Valid values are: Left, Center, Rigth.
public void setHorizontalAlignment(int value)
public Color getColor()
Get the Color of the text.
public void setColor(Color value)
Set the Color of the text.
Copyright © 2019 Aspose. All Rights Reserved.