setAnnotationsSemiTransparent()

Sets whether the annotations are semitransparent or not.

Call this method with a value of true to make annotations semitransparent so that the user can see the image behind the annotations and position the annotations.

Use one of the following values for the type parameter.
Value Description
all Sets all editable annotations to semitransparent.
redacttypes Sets all redact and redactpoly annotation types to semitransparent.
Tip: The setAnnotationsSemiTransparent(Boolean, type) method with this parameter replaces the deprecated setRedactionIsSemiTransparent(Boolean) method.
burnable Sets all annotations whose type can be permanently redacted to semitransparent. The burnable property is set by using the annotationDefaults HTML parameter.

Call this method with a value of false to disable the semitransparent mode.

To change the color that is used for the semitransparent redaction annotations, use the HTML parameter transparentRedactionColor.

Sample syntax


ViewONE.setAnnotationsSemiTransparent(true, "all");