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

StampHPosition Property

Gets/Sets stamp horizontal placement setting.

Property StampHPosition(Index As Long) As prnStampHPosition

prnStampHPosition get_StampHPosition(int Index)
void set_StampHPosition(int Index, prnStampHPosition value)

prnStampHPosition getStampHPosition(int Index) throws PrinterException
void setStampHPosition(int Index, prnStampHPosition value) throws PrinterException

Type

prnStampHPosition

Parameters

Remarks

N/A.

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"