[]
Represents and manages a Font used in a PdfDocument.
get embedMode(): FontEmbedMode;
Gets or sets the font embedding mode. By default this property is unspecified (null), and the actual embedding mode depends on whether or not the Font is one of StandardPdfFont. For standard fonts, PdfDocument#standardFontEmbedMode determines the embedding mode. For all other fonts, PdfDocument#fontEmbedMode determines the embedding mode.
set embedMode(value): void;
Gets or sets the font embedding mode. By default this property is unspecified (null), and the actual embedding mode depends on whether or not the Font is one of StandardPdfFont. For standard fonts, PdfDocument#standardFontEmbedMode determines the embedding mode. For all other fonts, PdfDocument#fontEmbedMode determines the embedding mode.
void
get font(): Font;
Gets the Font associated with this FontHandler.
set format(value): void;
Gets or sets the format used to represent the font in a document. If "null" (the default), PdfDocument#pdfFontFormat is used. Note that this property does not affect the 14 standard PDF fonts, those are always encoded as Type1.
void
get id(): number;
Gets the reference to the object.
number
get om(): ObjectManager;
Gets the owner ObjectManager instance.
get pdfFontFormat(): PdfFontFormat;
Gets or sets the format used to represent the font in a document. If "null" (the default), PdfDocument#pdfFontFormat is used. Note that this property does not affect the 14 standard PDF fonts, those are always encoded as Type1.
get usedInDocument(): boolean;
Gets a value indicating whether the current font is actually used in the document.
boolean
free(): void;
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(omTo): void;
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void