TX Text Control .NET Server

Javascript: TXTextControl.setTextFrameMarkerLines Method

Method|Introduced in 28.0

Description

Sets whether text frames that have no border line are shown with marker lines.

Syntax

<void> TXTextControl.setTextFrameMarkerLines(<boolean> textFrameMarkerLines, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

ParameterDescription
textFrameMarkerLines

Specifies whether text frames that have no border line are shown with marker lines.

callback

Optional. Is called when the operation completed.

errorCallback

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

Examples

The following example demonstrates TXTextControl.setTextFrameMarkerLines in a practical document-editing workflow. It sets whether text frames that have no border line are shown with marker lines.

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

TXTextControl.setTextFrameMarkerLines(
    true,
    function() {
        console.log("set text frame marker lines completed.");
    },
    onTxError
);