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 originally came from
Aspose.Pdf.Kit. |
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 fontName,
boolean ignoreCase)
Searches and returns font with specified font name ignoring or honoring case sensitivity.
|
static Font |
FontRepository.findFont(String fontFamilyName,
int stl)
Searches and returns font with specified font name and font style.
|
static Font |
FontRepository.findFont(String fontFamilyName,
int stl,
boolean ignoreCase)
Searches and returns font with specified font name and font style ignoring or honoring case
sensitivity.
|
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()
Returns default font
|
Font |
DefaultAppearance.getFont()
Gets font specified as default for text.
|
Font |
TextFragmentState.getFont()
Gets font of the text, represented by the
TextFragment object |
Font |
TextState.getFont()
Gets font of the text.
|
static Font |
InternalHelper.newFont(com.aspose.fonts.IFont font) |
static Font |
FontRepository.openFont(InputStream fontStream,
int fontType)
Opens font with specified font stream.
|
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 |
---|---|
static com.aspose.pdf.engine.collections.HashDictionary<String,Font> |
InternalHelper.FontCollection_getHash(FontCollection fonts) |
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 |
TextFragmentState.setFont(Font value)
Sets font of the text, represented by the
TextFragment object |
void |
TextState.setFont(Font value)
Gets font of the text.
|
Constructor and Description |
---|
DefaultAppearance(Font font,
double fontSize,
Color textColor)
Constructor of DefaultAppearance.
|
Operator.ShowText(String text,
Font font) |
Modifier and Type | Method and Description |
---|---|
Font |
FormattedText.getFont()
Gets font
|
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)
Gets or sets default substitution font.
|
boolean |
CustomFontSubstitutionBase.trySubstitute(CustomFontSubstitutionBase.OriginalFontSpecification originalFontSpecification,
Font[] substitutionFont)
Substitutes original font with another font.
|
Copyright © 2017 Aspose. All Rights Reserved.