easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

StampZOrder Property

Gets/Sets stamp z-order placement setting.

prnStampZOrder get_StampZOrder(int Index)
void set_StampZOrder(int Index, prnStampZOrder value)

Function get_StampZOrder(Index As Integer) As prnStampZOrder
Sub set_StampZOrder(Index As Integer, value As prnStampZOrder)

def getStampZOrder(self, Index)
def setStampZOrder(self, Index, value)

prnStampZOrder getStampZOrder(int Index) throws PrinterException
void setStampZOrder(int Index, prnStampZOrder value) throws PrinterException

function getStampZOrder($Index) 
function setStampZOrder($Index, $value) 

BclPrnResult GetStampZOrder(BclPrinter* pPrinter,
                            int Index,
                            BclPrnStampZOrder* poutVal);
BclPrnResult SetStampZOrder(BclPrinter* pPrinter,
                            int Index,
                            BclPrnStampZOrder newVal);
Property StampZOrder(Index As Long) As prnStampZOrder

bepprint +Stamp [-sendToBack]





Some application fills the entire background with white color before printing its contents. If you are printing from one of these applications, do not use PRN_STAMP_ZORDER_BOTTOM (place on bottom of z-order) since the stamp image will be hidden underneath. Use PRN_STAMP_ZORDER_TOP (place on top of z-order) instead.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.PrintJob
Set oPDFSetting = oPrintJob.PDFSetting

oPDFSetting.Stamp(0) = True
oPDFSetting.StampFileName(0) = "C:\test\stamp.bmp"
oPDFSetting.StampFirstPageOnly(0) = True
oPDFSetting.StampHPosition(0) = PRN_STAMP_HPOS_CENTER
oPDFSetting.StampVPosition(0) = PRN_STAMP_VPOS_CENTER
oPDFSetting.StampZOrder(0) = PRN_STAMP_ZORDER_TOP

oPrintJob.PrintOut "C:\test\input.doc", "C:\test\output.pdf"