Accusoft.FormDirector3.Net - Updated
Operations Property (FormDefinition)




Accusoft.FormDirectorSdk Namespace > FormDefinition Class : Operations Property
A list of operations to perform on images after you identify them, but before you process them.
Syntax
'Declaration
 
Public ReadOnly Property Operations As DataItemCollection
'Usage
 
Dim instance As FormDefinition
Dim value As DataItemCollection
 
value = instance.Operations
public DataItemCollection Operations {get;}
public: __property DataItemCollection* get_Operations();
public:
property DataItemCollection^ Operations {
   DataItemCollection^ get();
}
Remarks

This property holds the parameters for any number (including zero) of operations that you wish to perform on an image after you have identified it, but before you attempt to process it. If your application has no form identification step, you will perform these operations before you process a form.

Normally, you will leave this collection empty since image enhancements are usually most effective when you do them on an individual field, or are helpful when you do them before form identification. Any operation that moves parts of an image (such as cropping or deskewing an image) should not be in this collection. Since the form identification step also registers an image, you will destroy that registration if you do anything to move parts of an image after form identification and before form processing.

In addition to operations defined by Accusoft, you can create your own custom operations. Generally, you would do this if you have implemented your own image enhancement algorithm or are using a third-party image enhancement toolkit. You could also use this property to hold your own private instructions.

Changing this property will cause the HasChanged property to change to true.

If you create a new derived class from this class to manage I/O to a format different from that supported by FormDefinitionFile, you must save this property.

Default value: A list containing no items.

See Also

Reference

FormDefinition Class
FormDefinition Members