TX Text Control .NET Server

EditableRegionEventArgs Object

Object|Introduced in 28.0

Description

The event argument for editable region related events.

Syntax

{
   id: <Number>,
   length: <Number>,
   start: <Number>,
   userName: <String>
}

Examples

The following example demonstrates EditableRegionEventArgs in a practical document-editing workflow. The event argument for editable region related events.

function handleEditableRegion(args) {
    console.log("id:", args.id);
    console.log("length:", args.length);
    console.log("start:", args.start);
    console.log("user name:", args.userName);
}

Members

Properties

PropertyDescription
idThe editable region's identifier.
lengthThe number of characters which belong to the editable region.
startThe index (one-based) of the first character which belongs to the editable region.
userNamethe name of the user who can edit the region.