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

WatermarkOutlineOnly Property

Gets/Sets the flag that indicates whether to draw the outline portion of text only, or fill the entire text.

bool get_WatermarkOutlineOnly(int Index)
void set_WatermarkOutlineOnly(int Index, bool value)




Function get_WatermarkOutlineOnly(Index As Integer) As Boolean
Sub set_WatermarkOutlineOnly(Index As Integer, value As Boolean)




def getWatermarkOutlineOnly(self, Index)
def setWatermarkOutlineOnly(self, Index, value)




boolean getWatermarkOutlineOnly(int Index) throws PrinterException
void setWatermarkOutlineOnly(int Index, boolean value) throws PrinterException




function getWatermarkOutlineOnly($Index) 
function setWatermarkOutlineOnly($Index, $value) 




BclPrnResult GetWatermarkOutlineOnly(BclPrinter* pPrinter,
                                     int Index,
                                     BclBool* poutVal);
BclPrnResult SetWatermarkOutlineOnly(BclPrinter* pPrinter,
                                     int Index,
                                     BclBool newVal);
Property WatermarkOutlineOnly(Index As Long) As Boolean





bepprint +Watermark [-outline]





Type

Boolean

Parameters

Remarks

N/A.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
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:\test\input.doc", "C:\test\output.pdf"