TX Text Control .NET Server

Javascript: TXTextControl.Frame Enumeration

Enumeration|Introduced in 26.0

Description

Determines which frame borders are visible of an image, text frame, chart, barcode or drawing.

Members

MemberDescription
LeftLineLeft frame line.
RightLineRight frame line.
TopLineFrame line at the top.
BottomLineFrame line at the bottom.
BoxComplete frame.
MergedBoxThe paragraph has a complete frame. If the following or the previous paragraph also has a frame, the frames are merged to a single frame.
NoneNo frame.

Examples

The following example uses TXTextControl.Frame.LeftLine (left frame line.) in a document-editing workflow.

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

TXTextControl.paragraphFormat.setFrame(
    TXTextControl.Frame.LeftLine,
    function() {
        console.log("set frame completed.");
    },
    onTxError
);

Further Reading

  • Inserting and Printing Folding Marks Using TX Text Control –
  • Displaying a Frame Around a Paragraph –