Deletes the specified page from the specified Form attribute object.
public void DeleteFormPage(
FormRecognitionAttributes attributes,
int pageNumber
)
Public Sub DeleteFormPage( _
ByVal attributes As Leadtools.Forms.Recognition.FormRecognitionAttributes, _
ByVal pageNumber As Integer _
)
public:
void DeleteFormPage(
Leadtools.Forms.Recognition.FormRecognitionAttributes^ attributes,
int pageNumber
)
attributes
The Form attribute object.
pageNumber
The page being deleted from the form. The page number is a 1-based index.
The object should be a Form attribute object. To delete a page from a Master Form attribute object, call the DeleteMasterFormPagemethod.
For a complete example of using form recognition and processing, refer to the FormRecognitionEngine example.
This example deletes a page from the Form
using Leadtools;
using Leadtools.Barcode;
using Leadtools.Codecs;
using Leadtools.Forms;
using Leadtools.Forms.Ocr;
using Leadtools.Forms.Processing;
using Leadtools.Forms.Recognition;
using Leadtools.Forms.Recognition.Barcode;
using Leadtools.Forms.Recognition.Ocr;
/// This method deletes a page from form attributes for recognition.
public void DeletePageFromForm(FormRecognitionEngine recognitionEngine,
int pagenumber,
FormRecognitionAttributes form)
{
recognitionEngine.OpenForm(form);
recognitionEngine.DeleteFormPage(form, pagenumber);
recognitionEngine.CloseForm(form);
}
Imports Leadtools
Imports Leadtools.Barcode
Imports Leadtools.Codecs
Imports Leadtools.Forms
Imports Leadtools.Forms.Ocr
Imports Leadtools.Forms.Processing
Imports Leadtools.Forms.Recognition
Imports Leadtools.Forms.Recognition.Barcode
Imports Leadtools.Forms.Recognition.Ocr
''' This method deletes a page from form attributes for recognition.
Public Sub DeletePageFromForm(recognitionEngine As FormRecognitionEngine, pagenumber As Integer, form As FormRecognitionAttributes)
recognitionEngine.OpenForm(form)
recognitionEngine.DeleteFormPage(form, pagenumber)
recognitionEngine.CloseForm(form)
End Sub
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.