Package | Description |
---|---|
com.aspose.pdf |
The
com.aspose.pdf is a root package for all classes of Aspose.Pdf.New library which are either directly in it like Document or indirectly through several subpackages. |
com.aspose.pdf.facades |
The
com.aspose.pdf.facades package provides classes originaly came from Aspose.Pdf.Kit. |
com.aspose.pdf.tagged.logicalstructure.elements |
The
<b>com.aspose.pdf.tagged.logicalstructure.elements </b> is a namespace for PDF Logical Structure classes. |
com.aspose.pdf.text |
The
com.aspose.pdf.text package provides classes that allow to extract text, add text, manipulate existing text of a document. |
Modifier and Type | Method and Description |
---|---|
static Font |
FontRepository.findFont(String fontName)
Searches and returns font with specified font name.
|
static Font |
FontRepository.findFont(String fontFamilyName,
int style)
Searches and returns font with specified font name and font style.
|
Font |
FontCollection.get_Item(int index)
Gets the font element at the specified index.
|
Font |
FontCollection.get_Item(String name)
Gets font from the collection by font name.
|
static Font |
TextStamp.getDefaultFont() |
Font |
TextState.getFont()
Gets or sets font of the text.
|
Font |
TextFragmentState.getFont()
Gets font of the text, represented by the
TextFragment object |
Font |
DefaultAppearance.getFont()
Gets font specified as default for text.
|
static Font |
InternalHelper.newFont(com.aspose.fonts.IFont font) |
static Font |
FontRepository.openFont(String fontFilePath)
Opens font with specified font file path.
|
static Font |
FontRepository.openFont(String fontFilePath,
String metricsFilePath)
Opens font with specified font file path and metrics file path.
|
Modifier and Type | Method and Description |
---|---|
void |
FontCollection.add(Font fragment)
Adds the font element at the specified index.
|
void |
FontCollection.add(Font newFont,
String[] resName)
Adds new font to font resources and returns automatically assigned name of font resource.
|
void |
TextState.setFont(Font value) |
void |
TextFragmentState.setFont(Font value)
Sets font of the text, represented by the
TextFragment object |
Constructor and Description |
---|
DefaultAppearance(Font font,
double fontSize,
Color textColor)
Constructor of DefaultAppearance.
|
ShowText(String text,
Font font) |
Modifier and Type | Method and Description |
---|---|
Font |
FormattedText.getFont()
Gets font
|
Modifier and Type | Method and Description |
---|---|
Font |
StructureTextState.getFont()
Gets or sets the font of text.
|
Modifier and Type | Method and Description |
---|---|
void |
StructureTextState.setFont(Font value)
Gets or sets the font of text.
|
Modifier and Type | Method and Description |
---|---|
Font |
SystemFontsSubstitution.getDefaultFont()
Gets or sets default substitution font.
|
Modifier and Type | Method and Description |
---|---|
void |
SystemFontsSubstitution.setDefaultFont(Font value) |
Copyright © 2020 Aspose. All Rights Reserved.