TX Text Control .NET Server

Javascript: InputFormat.getInnerVerticalFrameLines Method

Method|Introduced in 28.0

Description

Gets a value specifying whether all inner vertical frame lines are set for the selected text.

Syntax

<void> InputFormat.getInnerVerticalFrameLines(<RequestBooleanCallback> callback, [<ErrorCallback> errorCallback])

Parameters

ParameterDescription
callback

Receives whether all inner vertical frame lines are set for the selected text.

errorCallback

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

Examples

The following example demonstrates InputFormat.getInnerVerticalFrameLines in a practical document-editing workflow. It gets a value specifying whether all inner vertical frame lines are set for the selected text.

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

TXTextControl.inputFormat.getInnerVerticalFrameLines(
    function(result) {
        if (result) {
            console.log("get inner vertical frame lines is available.");
        } else {
            console.warn("get inner vertical frame lines is not available in the current document state.");
        }
    },
    onTxError
);