WatermarkFontName プロパティ

電子透かしのフォント名を取得/設定する。

Property WatermarkFontName(Index As Long) As String

文字列型

パラメータ

注意点

なし

使用例


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

Set oPrintJob = oPrinter.PrintJob

Set oPDFSetting = oPrintJob.PDFSetting



oPDFSetting.Watermark(0) = True

oPDFSetting.WatermarkAngle(0) = 60

oPDFSetting.WatermarkColor(0) = RGB(128, 128, 128)

oPDFSetting.WatermarkFirstPageOnly(0) = True

oPDFSetting.WatermarkFontName(0) = "Arial"

oPDFSetting.WatermarkFontSize(0) = 72

oPDFSetting.WatermarkOutlineOnly(0) = True

oPDFSetting.WatermarkText(0) = "SDK Sample"

oPDFSetting.WatermarkZOrder(0) = PRN_WMARK_ZORDER_TOP



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