|
iText 9.1.0 API
|
Helper class for setting annotation default appearance. More...
Helper class for setting annotation default appearance.
Helper class for setting annotation default appearance. The class provides setters for font color, font size and font itself.
Note that only standard font names that do not require font resources are supported.
Note that it is possible to create annotation with custom font name in DA, but this require manual resource modifications (you have to put font in DR of AcroForm and use its resource name in DA) and only Acrobat supports that workflow.
|
inline |
Creates the default instance of AnnotationDefaultAppearance.
Creates the default instance of AnnotationDefaultAppearance.
The default font is StandardAnnotationFont.Helvetica . The default font size is 12.
|
inlinevirtual |
Sets the AnnotationDefaultAppearance 's default font color.
| cmykColor |
iText.Kernel.Colors.DeviceCmyk to be set as the AnnotationDefaultAppearance 's default font color
|
inlinevirtual |
Sets the AnnotationDefaultAppearance 's default font color.
| grayColor |
iText.Kernel.Colors.DeviceGray to be set as the AnnotationDefaultAppearance 's default font color
|
inlinevirtual |
Sets the AnnotationDefaultAppearance 's default font color.
| rgbColor |
iText.Kernel.Colors.DeviceRgb to be set as the AnnotationDefaultAppearance 's default font color
|
inlinevirtual |
Sets the AnnotationDefaultAppearance 's default font.
| font | one of extended annotation fonts to be set as the default one for this AnnotationDefaultAppearance |
|
inlinevirtual |
Sets the AnnotationDefaultAppearance 's default font.
| font | one of standard annotation fonts to be set as the default one for this AnnotationDefaultAppearance |
|
inlinevirtual |
Sets the AnnotationDefaultAppearance 's default font size.
| fontSize | font size to be set as the AnnotationDefaultAppearance 's default font size |
|
inlinevirtual |
Gets the AnnotationDefaultAppearance 's representation as iText.Kernel.Pdf.PdfString.