This method adds a font family
id generated on the engine side CONNECTOR_ID::FONT_FAMILY_ID
unique id of the font connector
the font family object
This method adds a font style
id generated on the engine side CONNECTOR_ID::FONT_FAMILY_ID::FONT_STYLE_ID
unique id of the font connector
the font object
This method returns the default font family. Be aware that the default font family will not change during the entire lifetime of the SDK session. It is not necessary to call this more than once in an integration, this value can be safely stored during the lifetime of this SDK session.
a default DocumentFontFamily
This method returns the default font. Be aware that the default font will not change during the entire lifetime of the SDK session. It is not necessary to call this more than once in an integration, this value can be safely stored during the lifetime of this SDK session.
a default DocumentFontStyle
This method returns the list of font families
DocumentFontFamily[]
This method returns a font family by id
DocumentFontFamily properties
the id of a specific font family
This method returns a font style by id
DocumentFontStyle properties
the id of a specific font style
This method returns the list of font styles for a specific family
DocumentFontStyle[]
the id of a specific font style
Check if the font family is used anywhere in the document
boolean
the id of the font family to check
Check if the font style is used anywhere in the document
boolean
the id of the font style to check
This method changes positions of font families
the position of the font family
the list of font family IDs
This method removes a font family
the id of a specific font family
This method removes a font style
the id of a specific font style
Generated using TypeDoc
The FontController is responsible for all communication regarding font styles. Methods inside this controller can be called by
window.SDK.font.{method-name}