ImageGear .NET - Updated
CreatePDFPage Method




ImageGear23.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecPage Class : CreatePDFPage Method
Existing ImageGear.Formats.PDF.ImGearPDFDocument class to which the new page will be appended.
ImGearRecPDFOutputOptions class object.
Creates a new page in the given PDF document and populates it with recognized text and image.
Syntax
'Declaration
 
Public Sub CreatePDFPage( _
   ByVal outputDocument As ImGearPDFDocument, _
   ByVal options As ImGearRecPDFOutputOptions _
) 
'Usage
 
Dim instance As ImGearRecPage
Dim outputDocument As ImGearPDFDocument
Dim options As ImGearRecPDFOutputOptions
 
instance.CreatePDFPage(outputDocument, options)
public void CreatePDFPage( 
   ImGearPDFDocument outputDocument,
   ImGearRecPDFOutputOptions options
)
public: void CreatePDFPage( 
   ImGearPDFDocument* outputDocument,
   ImGearRecPDFOutputOptions* options
) 
public:
void CreatePDFPage( 
   ImGearPDFDocument^ outputDocument,
   ImGearRecPDFOutputOptions^ options
) 

Parameters

outputDocument
Existing ImageGear.Formats.PDF.ImGearPDFDocument class to which the new page will be appended.
options
ImGearRecPDFOutputOptions class object.
Remarks
This method creates a new page in the given PDF document and populates it with recognized text and image.

The first parameter is an existing ImageGear.Formats.PDF.ImGearPDFDocument class to which the new page will be appended.

The second parameter is optional and can be used to specify options. Pass Nothing to use default options, which creates a PDF page containing the recognized image along with hidden text elements suitable for searching, highlighting, selection, copying and pasting, etc.

Note: depending on the ImGearRecPDFOutputOptions.UseUnicodeText property value of the options parameter, this method will support either Windows ANSI or Unicode encoding for the recognized text. When using Unicode encoding only, this method will generate ImageGear.Core.ImGearWarning's if the recognized text contains characters that cannot be represented by the selected PDF font. Use the ImGearRecPDFOutputOptions class to specify the PDF fonts used for export.

See Also

Reference

ImGearRecPage Class
ImGearRecPage Members
ImGearPDFDocument Class
ImGearRecPDFOutputOptions Class