DS Server

Javascript: SubTextPartEventArgs.id Property

Property|Introduced in 24.0

Description

The subtextpart's identifier. Must be a one-based value. A value of zero indicates that the subtextpart has no identifier.

Syntax

<number> SubTextPartEventArgs.id

Examples

The following example demonstrates SubTextPartEventArgs.id in a practical document-editing workflow. The subtextpart's identifier. Must be a one-based value. A value of zero indicates that the subtextpart has no identifier.

function inspectId(subTextPartEventArgs) {
    const id = subTextPartEventArgs.id;
    console.log("id:", id);
}