DS Server

Javascript: FormattingStyle.getTextBackColor Method

Method|Introduced in 28.0

Description

Gets the style's text background color.

Syntax

<void> FormattingStyle.getTextBackColor(<RequestStringCallback> callback)

Parameters

ParameterDescription
callback

Receives the style's text background color.

Examples

The following example demonstrates FormattingStyle.getTextBackColor in a practical document-editing workflow. It gets the style's text background color.

function inspectTextBackColor(formattingStyle) {
    formattingStyle.getTextBackColor(
        function(result) {
            console.log("get text back color result:", result);
        }
    );
}