clearOverlayText
Clear all overlay text items.
clearOverlayText()
This function removes all of the overlays that have been added with
the
addOverlayText
function.
VB:
' print the first five pages with a "CONFIDENTIAL" overlay
pdf.addOverlayText("CONFIDENTIAL", "Arial", 1, 0, "Helvetica-Bold", _
RGB(0, 0, 0), 10, 200, 50, 0, 0)
pdf.pages = "1-5"
pdf.printPDF4()
' print the next five pages with a "TOP SECRET" overlay
pdf.clearOverlayText()
pdf.addOverlayText("TOP SECRET", "Arial", 1, 0, "Helvetica-Bold",
RGB(0, 0, 0), 10, 200, 50, 0, 0)
pdf.pages = "6-10"
pdf.printPDF4()