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

StampZoom Property

Gets/Sets stamp zoom scale.

Property StampZoom(Index As Long) As Long

int get_StampZoom(int Index)
void set_StampZoom(int Index, int value)

int getStampZoom(int Index) throws PrinterException
void setStampZoom(int Index, int value) throws PrinterException

Type

Long (percent)

Parameters

Remarks

The allowed value range is from 10 to 100.

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"