public class TextDefaults extends Object
Defines text subsystem defaults
| Modifier and Type | Class and Description |
|---|---|
static class |
TextDefaults.DefaultFontStrategy
Specifies type of text subsystem defaults
|
| Constructor and Description |
|---|
TextDefaults() |
| Modifier and Type | Method and Description |
|---|---|
static Font |
getDefaultFont()
Default font
|
static Font |
getDefaultFontForText(String text)
Default font
|
static List<Font> |
getDefaultFonts() |
static int |
getDefaultFontStrategy()
Default font Strategy type
|
static Font |
getPredefinedFont()
The parameter specifies the font that has been pre-selected
|
static void |
setDefaultFonts(List<Font> fonts)
Add list of Default fonts to included in the system fonts list for Aspose.PDF library
|
static void |
setDefaultFontStrategy(int value)
Default font Strategy type
|
static void |
setPredefinedFont(Font value)
The parameter specifies the font that has been pre-selected
|
public static int getDefaultFontStrategy()
Default font Strategy type
TextDefaults.DefaultFontStrategypublic static void setDefaultFontStrategy(int value)
value - DefaultFontStrategy elementTextDefaults.DefaultFontStrategypublic static Font getDefaultFont()
Default font
public static Font getPredefinedFont()
public static void setPredefinedFont(Font value)
value - Font instancepublic static void setDefaultFonts(List<Font> fonts)
fonts - list of Font instancesCopyright © 2025 Aspose. All Rights Reserved.