getBackgroundColor()

Description

Gets the background color of the document editor. It is a value specifying the 32-bit RGBA value.

Syntax

DocumentEditorObject.ui.getBackgroundColor();

Return value

<int>

If it fails to get the background color, it returns null.

Example

if (DCSObject)
{
    var documenteditor = DCSObject.getDocumentEditor("DocumentEditorContainer");  // Gets a specified document editor
    documenteditor.ui.getBackgroundColor(); // Gets the background color of the document editor
}
      

See also

ui.setBackgroundColor()

Is this page helpful?

Leave a Reply

Your email address will not be published.