ImageGear21.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecPage Class : CreatePDFPage Method |
'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 )
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.