Underlines one or more regions of a page.

interface IUnderlineAnnotation {
    accessType?: LfRepositoryClientV2.AnnotationAccessControlType;
    color?: string;
    comment?: string;
    createdTime?: Date;
    creator?: string;
    customData?: string;
    direction?: LfRepositoryClientV2.TextDirection;
    entryId?: number;
    isProtected?: boolean;
    isReadOnly?: boolean;
    itemId?: number;
    lastModifiedTime?: Date;
    pageNumber?: number;
    reasonId?: number;
    rectangles?: LfRepositoryClientV2.AnnotationRectangle[];
    textEnd?: number;
    textStart?: number;
    visibility?: LfRepositoryClientV2.AnnotationVisibility;
    zOrder?: number;
}

Hierarchy (View Summary)

Implemented by

Properties

How the annotation participates in access control.

color?: string

The underline color as an RGB hex string (for example, "#FF0000"); null if transparent.

comment?: string

An optional comment on the annotation.

createdTime?: Date

The UTC time the annotation was created.

creator?: string

The security identifier (SID) of the user that created the annotation.

customData?: string

Optional application-defined custom data stored with the annotation.

The reading direction of the underlined text.

entryId?: number

The ID of the document entry the annotation belongs to.

isProtected?: boolean

A boolean indicating whether the annotation is protected so that only its creator can modify it.

isReadOnly?: boolean

A boolean indicating whether the annotation is read-only (for example, on an archived version).

itemId?: number

The identifier of the annotation, unique within its page.

lastModifiedTime?: Date

The UTC time the annotation was last modified.

pageNumber?: number

The 1-based page number the annotation is on.

reasonId?: number

The ID of the redaction reason associated with the annotation, if any.

The rectangular regions covered by the underline.

textEnd?: number

The end offset of the linked text span, or -1 when not linked to text.

textStart?: number

The start offset of the linked text span, or -1 when not linked to text.

Controls who can see the annotation.

zOrder?: number

The z-order of the annotation; higher values draw on top.