pdfClearOverlayText

Clear all overlay text items.
void pdfClearOverlayText(PDFHandle pdf)
This function removes all of the overlays that have been added with the pdfAddOverlayText function.
C:
/* print the first five pages with a "CONFIDENTIAL" overlay */ pdfAddOverlayText(pdf, "CONFIDENTIAL", "Arial", 1, 0, "Helvetica-Bold", RGB(0, 0, 0), 10, 200, 50, 0, 0); pdfPrintSetPages(pdf, "1-5"); pdfPrint4(pdf); /* print the next five pages with a "TOP SECRET" overlay */ pdfClearOverlayText(pdf); pdfAddOverlayText(pdf, "TOP SECRET", "Arial", 1, 0, "Helvetica-Bold", RGB(0, 0, 0), 10, 200, 50, 0, 0); pdfPrintSetPages(pdf, "6-10"); pdfPrint4(pdf);
pdfAddOverlayText