ImageMan.Net Version 3 Summer 2012 Release
MarkRedaction Class
Members  See Also  Send Feedback
DTI.ImageMan Namespace : MarkRedaction Class





Glossary Item Box

A Mark that is a redaction object.

Object Model

MarkRedaction Class

Syntax

Visual Basic (Declaration) 
Public Class MarkRedaction 
   Inherits MarkBase
   Implements IMark 
Visual Basic (Usage)Copy Code
Dim instance As MarkRedaction
C# 
public class MarkRedaction : MarkBase, IMark  
JScript 
public class MarkRedaction extends MarkBase implements IMark 
Managed Extensions for C++ 
public __gc class MarkRedaction : public MarkBase, IMark  
C++/CLI 
public ref class MarkRedaction : public MarkBase, IMark  

Remarks

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.

Inheritance Hierarchy

System.Object
   DTI.ImageMan.MarkBase
      DTI.ImageMan.MarkRedaction

Requirements

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

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.