Adding watermarks using DLL
Adding watermarks using DLL
Caqn someone please provide a sample code on how to add water marks using the DLL (at least how to declare the function in the DLL)
Best Regards,
Thilaka
Thilaka
Hello,
Please find here the declation of SetWatermak in Visual Basic.
Declare Function SetWatermark Lib "CDintf210" (ByVal hPrinter As Long, ByVal szWatermark As String, ByVal szFont As String, ByVal fontSize As Integer, ByVal Orientation As Integer, ByVal color As Long, ByVal xPos As Long, ByVal yPos As Long, ByVal bForeground As Long) As Long
Hope this helps, if not I can provide you with a VB sample on calling SetWatermark.
Please note that you need to add the options 64 to FileNameOptions to be able to add a watermark to the pdf file.
Please find here the declation of SetWatermak in Visual Basic.
Declare Function SetWatermark Lib "CDintf210" (ByVal hPrinter As Long, ByVal szWatermark As String, ByVal szFont As String, ByVal fontSize As Integer, ByVal Orientation As Integer, ByVal color As Long, ByVal xPos As Long, ByVal yPos As Long, ByVal bForeground As Long) As Long
Hope this helps, if not I can provide you with a VB sample on calling SetWatermark.
Please note that you need to add the options 64 to FileNameOptions to be able to add a watermark to the pdf file.