getDocumentBoundaryThickness()

Description

Gets the width of the document boundaries (in px) in the editor.

Syntax

DocumentEditorObject.ui.getDocumentBoundaryThickness();

Return value

<int>

If it fails to get the width, it returns null.

Example

if (DCSObject)
{
    var documenteditor = DCSObject.getDocumentEditor("DocumentEditorContainer");  // Gets a specified document editor
    documenteditor.ui.getDocumentBoundaryThickness(); // Gets the width of the document boundary
}
      

See also

.ui.setDocumentBoundaryThickness()