TX Text Control .NET Server

Javascript: SectionFormat.getColumnLineColor Method

Method|Introduced in 26.0

Description

Gets the color of a dividing line between two columns.

Syntax

<void> SectionFormat.getColumnLineColor(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])

Parameters

ParameterDescription
callback

Receives the color of a dividing line.

errorCallback

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

Examples

The following example demonstrates SectionFormat.getColumnLineColor in a practical document-editing workflow. It gets the color of a dividing line between two columns.

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

function inspectColumnLineColor(sectionFormat) {
    sectionFormat.getColumnLineColor(
        function(result) {
            console.log("get column line color result:", result);
        },
        onTxError
    );
}