@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
27 lines (26 loc) • 957 B
TypeScript
/**
* This class provides information about the font used in the specified PDF file, such as font-name, font-family etc.
*/
export declare class Font {
private readonly _name?;
private readonly _fontType?;
private readonly _familyName?;
/**
* Returns a string specifying the post-script name of the font - e.g. "YERPXC+MyriadPro-Regular" etc.
*
* @returns A String denoting the post-script name of the font.
*/
get name(): string | undefined;
/**
* Returns a string specifying the font technology type - e.g. "Type 1", "TrueType", "OpenType" etc.
*
* @returns A String denoting the font technology type.
*/
get fontType(): string | undefined;
/**
* Returns a string specifying font's family name - e.g. For font "Times Bold Italic", family name is "Times" etc.
*
* @returns A String denoting the font's family name.
*/
get familyName(): string | undefined;
}