GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / FormDropOut Method
GdPicture image identifier. The Filled Form.
GdPicture image identifier. The Empty Template Form Document.Has to be the same Height and Width as ImageID.
Whether or not to try to fix gaps of interaction between form and data.





In This Topic
FormDropOut Method (GdPictureImaging)
In This Topic
Removes empty form information and keeps the entered information only. Highly useful for better and faster OCR processing, and reducing the image compression size.
Syntax
'Declaration
 
Public Function FormDropOut( _
   ByVal ImageID As Integer, _
   ByVal TemplateID As Integer, _
   ByVal UseGapCorrection As Boolean _
) As GdPictureStatus
public GdPictureStatus FormDropOut( 
   int ImageID,
   int TemplateID,
   bool UseGapCorrection
)
public function FormDropOut( 
    ImageID: Integer;
    TemplateID: Integer;
    UseGapCorrection: Boolean
): GdPictureStatus; 
public function FormDropOut( 
   ImageID : int,
   TemplateID : int,
   UseGapCorrection : boolean
) : GdPictureStatus;
public: GdPictureStatus FormDropOut( 
   int ImageID,
   int TemplateID,
   bool UseGapCorrection
) 
public:
GdPictureStatus FormDropOut( 
   int ImageID,
   int TemplateID,
   bool UseGapCorrection
) 

Parameters

ImageID
GdPicture image identifier. The Filled Form.
TemplateID
GdPicture image identifier. The Empty Template Form Document.Has to be the same Height and Width as ImageID.
UseGapCorrection
Whether or not to try to fix gaps of interaction between form and data.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

The Filled Form Image and the Empty Template image have to be the same height and width, or else an Invalid Parameter will be returned.

Setting UseGapCorrection to True, will slow the speed of the algorithm, but will result in much more accurate characters and filled data. Nonetheless, most applications will not need it. If accuracy is what is sought after, set it to true, but make sure the process is called after the scan process and not during to avoid any delays. The slowing of the UseGapCorrection option should be overlooked when considering the tremendous outcomes of FormDropOut mentioned above on the application in general.

This method requires the Image Documents component to run.

See Also