AnnotLocked
IPDFDocument4 :: Annotations

See Also
Collapse All

This property gets or sets the value indicating if the annotation is locked.

Syntax

VARIANT_BOOL AnnotLocked { get; set; }
Value
VARIANT_TRUE if the annotation is locked, VARIANT_FALSE otherwise

Remarks

If set to VARIANT_TRUE, do not allow the annotation to be deleted or its properties (including
position and size) to be modified by the user. However, this property does not restrict changes to the annotation’s contents, such as the value of a form field.

See the AddUnicodeTextAnnotation method for examples.

Note: Setting this property to VARIANT_TRUE will force output file format version to be 1.4. See compatibility for more details.

See Also

Reference