DTWAIN_PDFTEXTELEMENT Functions

Top  Previous  Next

The following functions are used to handle DTWAIN_PDFTEXTELEMENT:

 

DTWAIN_PDFTEXTELEMENT Creation and Destruction

DTWAIN_CreatePDFTextElement

DTWAIN_DestroyPDFTextElement

 

For adding the text element to a DTWAIN_SOURCE 

DTWAIN_AddPDFTextElement


To remove a text element from a DTWAIN_SOURCE

DTWAIN_RemovePDFTextElement


To remove all text elements from a DTWAIN_SOURCE

DTWAIN_ClearPDFTextElements


For setting various characteristics in a DTWAIN_PDFTEXTELEMENT, there are 3 functions:


Text that will be displayed and font name

DTWAIN_SetPDFTextElementString


Character spacing, word spacing, font size, rotation angle, skew angle, x/y scaling and general scaling, stroke width

DTWAIN_SetPDFTextElementFloat


Page to print the text (all pages, current only, even pages, odd pages, disable), x,y position on page, text color, render mode, and transformation order (for rotation, skewing, x/y scaling) 

DTWAIN_SetPDFTextElementLong