XFINIUM.PDF Documentation
Locked Property (PdfAnnotation)



Xfinium.Pdf.Annotations Namespace > PdfAnnotation Class : Locked Property
Gets or sets a value indicating whether the annotation should be modified.
Syntax
'Declaration
 
Public Property Locked As Boolean
'Usage
 
Dim instance As PdfAnnotation
Dim value As Boolean
 
instance.Locked = value
 
value = instance.Locked
public bool Locked {get; set;}
public:
property bool Locked {
   bool get();
   void set (    bool value);
}

Property Value

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.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfAnnotation Class
PdfAnnotation Members