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

StampVOffset Property

Gets/Sets stamp vertical placement offset setting.

Property StampVOffset(Index As Long) As Double

double get_StampVOffset(int Index)
void set_StampVOffset(int Index, double value)

double getStampVOffset(int Index) throws PrinterException
void setStampVOffset(int Index, double value) throws PrinterException

Type

Double (inches)

Parameters

Remarks

The value specified in StampHPostion and StampVPosition becomes the origin (0, 0).

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.StampZOrder(0) = PRN_STAMP_ZORDER_TOP

oPDFSetting.StampHPosition(0) = PRN_STAMP_HPOS_LEFT
oPDFSetting.StampVPosition(0) = PRN_STAMP_VPOS_TOP
oPDFSetting.StampHOffset(0) = 0.5
oPDFSetting.StampVOffset(0) = 0.5
oPDFSetting.StampTransparentColor(0) = RGB(0, 128, 128)
oPDFSetting.StampZoom(0) = 70

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