Nutrient Web SDK
    Preparing search index...

    Type Alias RedactionAnnotationsNamespace

    type RedactionAnnotationsNamespace = {
        createFromCurrentTextSelection: () => NutrientViewer.Immutable.List<
            MarkupAnnotation
            | NutrientViewer.Annotations.RedactionAnnotation,
        >;
        getColorPresets: () => RedactionColorPresetsCatalog;
    }
    Index

    Properties

    createFromCurrentTextSelection: () => NutrientViewer.Immutable.List<
        MarkupAnnotation
        | NutrientViewer.Annotations.RedactionAnnotation,
    >

    Creates redaction annotations from the current text selection. Produces one annotation per page the selection spans and clears the text selection afterwards.

    getColorPresets: () => RedactionColorPresetsCatalog

    Returns the resolved color presets for redaction annotation color properties (fillColor, outlineColor, and overlayTextColor).