StampHPosition プロパティ

スタンプの水平位置セッティングを取得/設定する。

Property StampHPosition(Index As Long) As prnStampHPosition

prnStampHPosition

パラメータ

注意点

なし

使用例


Set oPrinter = CreateObject("easyPDF.Printer.7")

Set oPrintJob = oPrinter.PrintJob

Set oPDFSetting = oPrintJob.PDFSetting



oPDFSetting.Stamp(0) = True

oPDFSetting.StampFileName(0) = "C:\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:\input.doc", "C:\output.pdf"