跳到主要内容

SetProperties

Sets the properties to the document.

Syntax

expression.SetProperties(obj, obj.copyoutenabled, obj.hideContentControlTrack, obj.watermark_on_draw, obj.disableAutostartMacros, obj.fillForms);

expression - A variable that represents a Api class.

Parameters

NameRequired/OptionalData typeDefaultDescription
objRequiredobjectThe document properties.
obj.copyoutenabledRequiredbooleanDisables copying from the editor if it is set to false.
obj.hideContentControlTrackRequiredbooleanDisables tracking the content control if it is set to true.
obj.watermark_on_drawRequiredstringA string value for {@link global#watermark_on_draw watermark properties} in JSON format.
obj.disableAutostartMacrosRequiredbooleanSets a flag that specifies that macros are started automatically when the editor opens.
obj.fillFormsRequiredstringSets rules in JSON format for filling document {@link global#fillForms forms} by tags.

Returns

This method doesn't return any data.