TextDefaults
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.TextDefaults
public class TextDefaults extends Object
Defines text subsystem defaults
Constructors
| Constructor | Description |
|---|---|
| TextDefaults |
Methods
| Method | Description |
|---|---|
| getDefaultFont | Default font |
| getDefaultFontForText | Default font |
| getDefaultFonts | |
| getDefaultFontStrategy | Default font Strategy type |
| getPredefinedFont | The parameter specifies the font that has been pre-selected |
| setDefaultFonts | Add list of Default fonts to included in the system fonts list for Aspose.PDF library |
| setDefaultFontStrategy | Default font Strategy type |
| setPredefinedFont | The parameter specifies the font that has been pre-selected |
TextDefaults
public TextDefaults()
getDefaultFont
public static Font getDefaultFont()
Default font
Returns: Font instance
getDefaultFontForText
Default font
getDefaultFonts
public static List < Font > getDefaultFonts()
getDefaultFontStrategy
public static int getDefaultFontStrategy()
Default font Strategy type
Returns: DefaultFontStrategy element @see DefaultFontStrategy
getPredefinedFont
public static Font getPredefinedFont()
The parameter specifies the font that has been pre-selected
Returns: Font instance
setDefaultFonts
Add list of Default fonts to included in the system fonts list for Aspose.PDF library
setDefaultFontStrategy
public static void setDefaultFontStrategy(int value)
Default font Strategy type
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | DefaultFontStrategy element @see DefaultFontStrategy |
setPredefinedFont
The parameter specifies the font that has been pre-selected