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() |
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) |
public static int getDefaultFontStrategy()
Default font Strategy type
TextDefaults.DefaultFontStrategy
public static void setDefaultFontStrategy(int value)
value
- DefaultFontStrategy elementTextDefaults.DefaultFontStrategy
public static Font getDefaultFont()
Default font
public static Font getPredefinedFont()
public static void setPredefinedFont(Font value)
public static void setDefaultFonts(List<Font> fonts)
fonts
- list of Font instancesCopyright © 2024 Aspose. All Rights Reserved.