TX Text Control .NET Server

Distances Object

Object|Introduced in 28.0

Description

Frame distances in twips.

Syntax

Distances

Examples

The following example demonstrates Distances in a practical document-editing workflow. Frame distances in twips.

function inspectDistances(distances) {
    console.log("Distances object:", distances);
}

Members

Properties

PropertyDescription
bottomThe bottom distance in twips.
leftThe left distance in twips.
rightThe right distance in twips.
topThe top distance in twips.