Overview of DTWAIN_PDFTEXTELEMENT
|
The DTWAIN_PDFTEXTELEMENT type is used to store various aspects of text that will be written to a PDF page when acquiring to PDF files using DTWAIN_AcquireFile and specifying either DTWAIN_PDF or DTWAIN_PDFMULTI as the file type. Usage of the DTWAIN_PDFTEXTELEMENT is an alternative to calling DTWAIN_AddPDFText and having to specify each characteristic (text, font, color, etc.) as a separate parameter. In addition, the DTWAIN_PDFTEXTELEMENT supports more features for the text being displayed, such as rotation, scaling in the x and y direction, skewing, more flexibility in dynamically changing the text on each page, etc. Memory Management The DTWAIN DLL keeps track of all DTWAIN_PDFTEXTELEMENTSs that have been created with the DTWAIN_CreatePDFTextElement function. When DTWAIN_SysDestroy is called any DTWAIN_PDFTEXTELEMENT that has been created an initialized is erased. To destroy a DTWAIN_PDFTEXTELEMENT without calling DTWAIN_SysDestroy, the DTWAIN_DestroyPDFTextElement function is used. The DTWAIN_DestroyPDFTextElement function should be called whenever a DTWAIN_PDFTEXTELEMENT is no longer used.
DTWAIN_PDFTEXTELEMENT Functions |