SetProperties
function SetProperties(
obj: object,
obj.copyoutenabled: boolean,
obj.hideContentControlTrack: boolean,
obj.watermark_on_draw: string,
obj.disableAutostartMacros: boolean,
obj.fillForms: string,
): void
Description
Sets the properties to the document.
Parameters
- obj
object
The document properties.
- obj.copyoutenabled
boolean
Disables copying from the editor if it is set to false.
- obj.hideContentControlTrack
boolean
Disables tracking the content control if it is set to true.
- obj.watermark_on_draw
string
A string value for {@link global#watermark_on_draw watermark properties} in JSON format.
- obj.disableAutostartMacros
boolean
Sets a flag that specifies that macros are started automatically when the editor opens.
- obj.fillForms
string
Sets rules in JSON format for filling document {@link global#fillForms forms} by tags.
Returns
void