Nutrient Web SDK
    Preparing search index...

    Interface RedactionAnnotationJSON

    interface RedactionAnnotationJSON {
        action?:
            | null
            | | { subactions?: (CoreActionJSON)[]; type: "uri"; uri: string }
            | { pageIndex: number; subactions?: (CoreActionJSON)[]; type: "goTo" }
            | {
                newWindow: boolean;
                relativePath: string;
                subactions?: (CoreActionJSON)[];
                targetType: "parent" | "child";
                type: "goToEmbedded";
            }
            | {
                namedDestination: string;
                relativePath: string;
                subactions?: (CoreActionJSON)[];
                type: "goToRemote";
            }
            | {
                annotationReferences: AnnotationReference[];
                hide: boolean;
                subactions?: (CoreActionJSON)[];
                type: "hide";
            }
            | {
                fields: null
                | AnnotationReference[];
                flags: null | string;
                subactions?: (CoreActionJSON)[];
                type: "resetForm";
            }
            | {
                fields: null
                | string[];
                flags: null | ActionFlags[];
                subactions?: (CoreActionJSON)[];
                type: "submitForm";
                uri: string;
            }
            | { filePath: string; subactions?: (CoreActionJSON)[]; type: "launch" }
            | {
                action: Omit<string, "custom">;
                subactions?: (CoreActionJSON)[];
                type: "named";
            }
            | {
                action: "custom";
                customAction: NamedCustomAction;
                subactions?: (CoreActionJSON)[];
                type: "named";
            }
            | { script: string; subactions?: (CoreActionJSON)[]; type: "javaScript" };
        APStreamCache?: { cache: string } | { attach: string };
        bbox: [left: number, top: number, width: number, height: number];
        blendMode?:
            | null
            | | "normal"
            | "multiply"
            | "screen"
            | "overlay"
            | "darken"
            | "lighten"
            | "colorDodge"
            | "colorBurn"
            | "hardLight"
            | "softLight"
            | "difference"
            | "exclusion";
        color?: null
        | string;
        createdAt?: string | Date;
        creatorName?: null | string;
        customData?: null | Record<string, unknown>;
        fillColor?: null | string;
        flags?:
            | null
            | (
                | "noView"
                | "noPrint"
                | "locked"
                | "lockedContents"
                | "readOnly"
                | "hidden"
                | "noZoom"
                | "noRotate"
            )[];
        group?: IGroup;
        id: string;
        isAnonymous?: boolean;
        isCommentThreadRoot?: boolean;
        name?: null
        | string;
        note?: null | string;
        opacity?: number;
        outlineColor?: null | string;
        overlayText?: null | string;
        pageIndex: number;
        pdfObjectId?: null | number;
        permissions?: {
            delete: boolean;
            edit: boolean;
            fill?: boolean;
            reply?: boolean;
            setGroup: boolean;
        };
        rects: [number, number, number, number][];
        repeatOverlayText?: null | boolean;
        rotation?: number;
        subject?: null | string;
        type: "pspdfkit/markup/redaction";
        updatedAt?: string | Date;
        v: number;
    }

    Hierarchy

    • BaseTextMarkupAnnotationJSON
      • RedactionAnnotationJSON
    Index

    Properties

    action?:
        | null
        | | { subactions?: (CoreActionJSON)[]; type: "uri"; uri: string }
        | { pageIndex: number; subactions?: (CoreActionJSON)[]; type: "goTo" }
        | {
            newWindow: boolean;
            relativePath: string;
            subactions?: (CoreActionJSON)[];
            targetType: "parent" | "child";
            type: "goToEmbedded";
        }
        | {
            namedDestination: string;
            relativePath: string;
            subactions?: (CoreActionJSON)[];
            type: "goToRemote";
        }
        | {
            annotationReferences: AnnotationReference[];
            hide: boolean;
            subactions?: (CoreActionJSON)[];
            type: "hide";
        }
        | {
            fields: null
            | AnnotationReference[];
            flags: null | string;
            subactions?: (CoreActionJSON)[];
            type: "resetForm";
        }
        | {
            fields: null
            | string[];
            flags: null | ActionFlags[];
            subactions?: (CoreActionJSON)[];
            type: "submitForm";
            uri: string;
        }
        | { filePath: string; subactions?: (CoreActionJSON)[]; type: "launch" }
        | {
            action: Omit<string, "custom">;
            subactions?: (CoreActionJSON)[];
            type: "named";
        }
        | {
            action: "custom";
            customAction: NamedCustomAction;
            subactions?: (CoreActionJSON)[];
            type: "named";
        }
        | { script: string; subactions?: (CoreActionJSON)[]; type: "javaScript" }
    APStreamCache?: { cache: string } | { attach: string }
    bbox: [left: number, top: number, width: number, height: number]
    blendMode?:
        | null
        | | "normal"
        | "multiply"
        | "screen"
        | "overlay"
        | "darken"
        | "lighten"
        | "colorDodge"
        | "colorBurn"
        | "hardLight"
        | "softLight"
        | "difference"
        | "exclusion"
    color?: null | string
    createdAt?: string | Date
    creatorName?: null | string
    customData?: null | Record<string, unknown>
    fillColor?: null | string
    flags?:
        | null
        | (
            | "noView"
            | "noPrint"
            | "locked"
            | "lockedContents"
            | "readOnly"
            | "hidden"
            | "noZoom"
            | "noRotate"
        )[]
    group?: IGroup
    id: string
    isAnonymous?: boolean
    isCommentThreadRoot?: boolean
    name?: null | string
    note?: null | string
    opacity?: number
    outlineColor?: null | string
    overlayText?: null | string
    pageIndex: number
    pdfObjectId?: null | number
    permissions?: {
        delete: boolean;
        edit: boolean;
        fill?: boolean;
        reply?: boolean;
        setGroup: boolean;
    }
    rects: [number, number, number, number][]
    repeatOverlayText?: null | boolean
    rotation?: number
    subject?: null | string
    type: "pspdfkit/markup/redaction"
    updatedAt?: string | Date
    v: number