Click or drag to resize

AnnotationLock Class

This class is the default security used for annotations. It uses simple string encryption to secure annotations and keep users from being able to modify the data.
Inheritance Hierarchy
SystemObject
  Atalasoft.AnnotateAnnotationLock

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
public class AnnotationLock : IAnnotationLock, 
	ISerializable

The AnnotationLock type exposes the following members.

Constructors
  NameDescription
Public methodAnnotationLock
Creates a new instance of AnnotationLock.
Public methodAnnotationLock(String)
Creates a new instance of AnnotationLock whose key is the given string value
Public methodAnnotationLock(SerializationInfo, StreamingContext)
Creates a new instance of AnnotationLock from serialized data.
Top
Properties
  NameDescription
Public propertyEncryptionKey
Gets the encrypted key for the lock.
Public propertyLocked
Gets a value indicating whether or not the annotation is currently locked.
Public propertyLockedImage
Gets or sets the image displayed on the annotation when it's been locked.
Top
Methods
  NameDescription
Public methodClone
Creates a copy of this lock.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Fills a SerializationInfo object with AnnotationLock information.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLock
Locks the annotation without specifying a password.
Public methodLock(String)
Locks the annotation using the specified password.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAnnotationControllerNotification
Called to notify the AnnotationController after a property has been changed.
Protected methodOnPropertyChanged
Called when a property value has changed and raises the PropertyChanged event.
Protected methodOnPropertyChanging
Called before a property has been changed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnlock
This method will disable the lock on a locked annotation.
Public methodUnlock(String)
This method will disable the lock on an annotation that was previously locked with a password.
Top
Events
  NameDescription
Public eventAnnotationControllerNotification
Raised after a property of the AnnotationBrush if modified.
Public eventPropertyChanged
Raised when a property value has changed.
Public eventPropertyChanging
Raised just before a property is about to be modified.
Top
Remarks
For more security a custom class can be created by implementing the IAnnotationLock interface.
See Also