@express-document-sdk / BaseFont
Class: abstract
BaseFont
Represents a font that is able to be rendered within this document. However, the user may not have edit permissions for all such fonts.
Extended by
Accessors
availableForEditing
• get
abstract
availableForEditing(): boolean
Whether the current user has permission to create / edit content using this font.
Returns
boolean
family
• get
family(): string
IMPORTANT: This is currently experimental only and should not be used in any add-ons you will be distributing until it has been declared stable. To use it, you will first need to set the experimentalApis
flag to true
in the requirements
section of the manifest.json
.
The font family containing the font.
Returns
string
postscriptName
• get
postscriptName(): string
IMPORTANT: This is currently experimental only and should not be used in any add-ons you will be distributing until it has been declared stable. To use it, you will first need to set the experimentalApis
flag to true
in the requirements
section of the manifest.json
.
The PostScript name of the font.
Returns
string
style
• get
style(): string
IMPORTANT: This is currently experimental only and should not be used in any add-ons you will be distributing until it has been declared stable. To use it, you will first need to set the experimentalApis
flag to true
in the requirements
section of the manifest.json
.
The style of the font within the family.
Returns
string