Search results

DocumentEditorSettings API in JavaScript (ES5) DocumentEditor API control

The DocumentEditorSettings module is used to provide the customize property of Document Editor.

Properties

collaborativeEditingSettings

CollaborativeEditingSettingsModel

Collaborative editing settings.

enableOptimizedTextMeasuring

boolean

Gets or sets a value indicating whether to use optimized text measuring approach to match Microsoft Word pagination.

Defaults to true

fontFamilies

string[]

Specifies the user preferred font family of Document Editor.

Defaults to [‘Algerian’,‘Arial’,‘Calibri’,‘Cambria’,‘CambriaMath’,‘Candara’,‘CourierNew’,‘Georgia’,‘Impact’,‘SegoePrint’,‘SegoeScript’,‘SegoeUI’,‘Symbol’,‘TimesNewRoman’,‘Verdana’,‘Wingdings’]

formFieldSettings

FormFieldSettingsModel

Form field settings.

printDevicePixelRatio

number

Specifies the device pixel ratio for the image generated for printing. Remarks: Increasing the device pixel ratio will increase the image file size, due to high resolution of image.

searchHighlightColor

string

Specifies the user preferred Search Highlight Color of Document Editor.

Defaults to ‘#FFE97F’