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

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public class AnnotationLock : IAnnotationLock, 

The AnnotationLock type exposes the following members.

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.
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.
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.
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.
For more security a custom class can be created by implementing the IAnnotationLock interface.
See Also