|Visual Basic (Usage)||Copy Code|
Dim instance As MarkRedaction
Once a redaction mark has been saved and restored, or persisted to the clipboard and restored it is no longer moveable. It's position is locked. Setting Locked = false will not unlock it. If you have persisted reversible redaction marks and the user has the password you could allow these to be branded to the original image to restore the image.
The redaction is currently reversible, and the image data is stored unencrypted in dib format in the tags in the file, so it will be easy to reverse engineer it. If you need the redaction to be secure, there are a few options. One is to simply delete the redaction objects after you like the placement. Once deleted the underlying image is branded and can not be unbranded. A second option is to simply call the brand method and all marks will be made permanent prior to saving. Third if you wish to have secure reversible redactions the annotation control supports encryption. The RedactionSamples demonstrate the use of this.
Future versions will support passing in your own encryption function to encrypt or decrypt the image data.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2