Skip to content

PdfAnnotation.Locked Property

Gets or sets a value indicating whether the annotation should be modified.

C#
public bool Locked { get; set; }

Property Value

Boolean

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