DS Server

Javascript: FormattingStyle.getName Method

Method|Introduced in 28.0

Description

Gets the name of the style.

Syntax

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

Parameters

ParameterDescription
callback

Receives the name of the style.

Examples

The following example demonstrates FormattingStyle.getName in a practical document-editing workflow. It gets the name of the style.

function inspectName(formattingStyle) {
    formattingStyle.getName(
        function(result) {
            console.log("get name result:", result);
        }
    );
}