RedactionAnnotationPreset typedef
RedactionAnnotationPreset = AnonymousType_4263792
Redaction Annotation presets are sets of property-value pairs for annotations that can be applied as default annotations settings for Redaction Annotations. When a property of a Redaction Annotation is changed by the user, the annotation preset of the redaction annotations gets updated. This means that all the Redaction annotations created after this action will use that preset unless a different preset is specified.
For properties not included in the annotation preset, the default values of those properties are used.
Example:
Creating an annotation preset and adding it to the available annotation presets
```ts
const myAnnotationPresets = instance.annotationPresets
myAnnotationPresets['redaction'] = {
color: NutrientViewer.Color.BLACK,
}
instance.setAnnotationPresets(myAnnotationPresets);
Implementation
typedef RedactionAnnotationPreset = AnonymousType_4263792;