LEADTOOLS Forms (Leadtools.Forms.Recognition assembly)
LEAD Technologies, Inc

DeleteMasterFormPage Method

Example 





The Master Form attribute object.
The page of the Master Form being deleted. The page number is a 1-based index.
Deletes the specified page from the specified Master Form.
Syntax
public void DeleteMasterFormPage( 
   FormRecognitionAttributes attributes,
   int pageNumber
)
'Declaration
 
Public Sub DeleteMasterFormPage( _
   ByVal attributes As FormRecognitionAttributes, _
   ByVal pageNumber As Integer _
) 
'Usage
 
Dim instance As FormRecognitionEngine
Dim attributes As FormRecognitionAttributes
Dim pageNumber As Integer
 
instance.DeleteMasterFormPage(attributes, pageNumber)
public void DeleteMasterFormPage( 
   FormRecognitionAttributes attributes,
   int pageNumber
)
 function Leadtools.Forms.Recognition.FormRecognitionEngine.DeleteMasterFormPage( 
   attributes ,
   pageNumber 
)
public:
void DeleteMasterFormPage( 
   FormRecognitionAttributes^ attributes,
   int pageNumber
) 

Parameters

attributes
The Master Form attribute object.
pageNumber
The page of the Master Form being deleted. The page number is a 1-based index.
Remarks

The object should be a Master Form attribute object. To delete a page from a Form attribute object, call the DeleteFormPage method.

Example
 
''' This method deletes a page from a Master Form recognition attributes object.
  Public Sub DeletePageFromMasterForm(ByVal recognitionEngine As FormRecognitionEngine, _
                                      ByVal pagenumber As Integer, _
                                      ByVal form As FormRecognitionAttributes)
      recognitionEngine.OpenMasterForm(form)
      recognitionEngine.DeleteMasterFormPage(form, pagenumber)
      recognitionEngine.CloseMasterForm(form)
  End Sub
/// This method deletes a page from a Master Form recognition attributes.
public void DeletePageFromMasterForm(FormRecognitionEngine recognitionEngine, 
                                     int pagenumber, 
                                     FormRecognitionAttributes form)
{
   recognitionEngine.OpenMasterForm(form);
   recognitionEngine.DeleteMasterFormPage(form, pagenumber);
   recognitionEngine.CloseMasterForm(form);
}
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

Reference

FormRecognitionEngine Class
FormRecognitionEngine Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features