DS Server

Javascript: PageBorder.getBottomLineColor Method

Method|Introduced in 26.0

Description

Gets the color of the bottom border line.

Syntax

<void> PageBorder.getBottomLineColor(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])

Parameters

ParameterDescription
callback

Receives the color of the bottom border line.

errorCallback

Optional. Is called when the operation failed with an error.

Examples

The following example demonstrates PageBorder.getBottomLineColor in a practical document-editing workflow. It gets the color of the bottom border line.

function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function inspectBottomLineColor(pageBorder) {
    pageBorder.getBottomLineColor(
        function(result) {
            console.log("get bottom line color result:", result);
        },
        onTxError
    );
}