public class SignatureFont extends Object
Create instance of SignatureFont class to specify Font properties
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FONT_NAME |
static float |
DEFAULT_FONT_SIZE |
Constructor and Description |
---|
SignatureFont()
Create SignatureFont with default values
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBold()
Apply Font Bold Style
|
String |
getFontFamily()
Font Family Name
|
float |
getFontSize()
Font Size
|
boolean |
getItalic()
Apply Font Italic Style
|
int |
getPdfFontStyles() |
boolean |
getStrikeout()
Apply Strikeout Style
|
boolean |
getUnderline()
Apply Underline Style
|
boolean |
isDefault()
If Font default values were changed
|
void |
setBold(boolean value)
Apply Font Bold Style
|
void |
setFontFamily(String value)
Font Family Name
|
void |
setFontSize(float value)
Font Size
|
void |
setItalic(boolean value)
Apply Font Italic Style
|
void |
setStrikeout(boolean value)
Apply Strikeout Style
|
void |
setUnderline(boolean value)
Apply Underline Style
|
static SignatureFont |
to_SignatureFont(com.aspose.ms.System.Drawing.Font font)
Convert System.Drawing.Font to SignatureFont
|
String |
toString()
Override conversion to string
|
public static final String DEFAULT_FONT_NAME
public static final float DEFAULT_FONT_SIZE
public String getFontFamily()
Font Family Name
public void setFontFamily(String value)
Font Family Name
public float getFontSize()
Font Size
public void setFontSize(float value)
Font Size
public boolean getBold()
Apply Font Bold Style
public void setBold(boolean value)
Apply Font Bold Style
public boolean getItalic()
Apply Font Italic Style
public void setItalic(boolean value)
Apply Font Italic Style
public boolean getUnderline()
Apply Underline Style
public void setUnderline(boolean value)
Apply Underline Style
public boolean getStrikeout()
Apply Strikeout Style
public void setStrikeout(boolean value)
Apply Strikeout Style
public static SignatureFont to_SignatureFont(com.aspose.ms.System.Drawing.Font font)
Convert System.Drawing.Font to SignatureFont
font
- public int getPdfFontStyles()
public boolean isDefault()
If Font default values were changed
Copyright © 2017. All rights reserved.