A rectangle, rounded rectangle, or ellipse drawn on a page.

interface IRectangleAnnotation {
    accessType?: AnnotationAccessControlType;
    borderColor?: string;
    borderStyle?: LineStyle;
    borderThickness?: number;
    boxStyle?: BoxStyle;
    comment?: string;
    coordinates?: AnnotationRectangle;
    createdTime?: Date;
    creator?: string;
    customData?: string;
    entryId?: number;
    fillColor?: string;
    isProtected?: boolean;
    isReadOnly?: boolean;
    itemId?: number;
    lastModifiedTime?: Date;
    opacity?: number;
    pageNumber?: number;
    reasonId?: number;
    visibility?: AnnotationVisibility;
    zOrder?: number;
}

Hierarchy (View Summary)

Implemented by

Properties

How the annotation participates in access control.

borderColor?: string

The border color as an RGB hex string; null if transparent.

borderStyle?: LineStyle

The border stroke style.

borderThickness?: number

The border thickness in pixels.

boxStyle?: BoxStyle

The shape drawn within the bounding rectangle.

comment?: string

An optional comment on the annotation.

coordinates?: AnnotationRectangle

The bounding rectangle of the shape.

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.

entryId?: number

The ID of the document entry the annotation belongs to.

fillColor?: string

The fill color as an RGB hex string (for example, "#FF0000"); null if not filled.

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.

opacity?: number

The opacity of the shape as a percentage (0-100).

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.

Controls who can see the annotation.

zOrder?: number

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