SelectFont
Overview
SelectFont is a class in Aspose.Pdf FOSS for Java.
Inherits from: TextStateOperator.
Select font and size operator (Tf).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
fontName | String | Read | Returns the font resource name. |
size | double | Read | Returns the font size. |
Methods
| Signature | Description |
|---|---|
SelectFont(fontName: String, size: double) | Creates a SelectFont (Tf) operator with the specified font name and size. |
SelectFont(operands: List<COSBase>) | Creates a SelectFont (Tf) operator from parsed operands. |
getFontName() → String | Returns the font resource name. |
getSize() → double | Returns the font size. |