|   | Add the Lines Watermark (X) to specific page of existing PDF File without displaying or decoding any of the images.
 
| Public Function PDFEditAddWatermarkLines( _ByVal strSourceFile  As String, _
 ByVal strOutputFile  As String, _
 ByVal iStartPage As Integer, _
 ByVal iEndPage As Integer, _
 ByVal iStrokeWidth As Integer, _
 ByVal iRed As Integer, _
 ByVal iGreen As Integer, _
 ByVal iBlue As Integer
 ) as Bool
 |   
| Parameter
 strSourceFile
 The source of PDF File.
 
 strOutputFile
 The output of PDF File.
 
 iStartPage
 Specifies start of page number. The first page is 0. If you want to apply to all pages, set iStartPage and iEndPage =-1.
 
 iEndPage
 Specifies end of page number.
 
 iStokeWidth
 Specifies the the line width.
 
 iRed
 Specifies the color value with red component of lines (0-255).
 
 iGreen
 Specifies the color value with green component of lines (0-255).
 
 iBlue
 Specifies the color value with blue component of lines (0-255).
 
 Return Value
 Return true if successful, otherwise return false.
 
 
 Example
 
|     | Visual Basic SyntaxImageViewer1.PDFEditAddWatermarkLines "c:\sourcepdf.pdf", 1, "c:\output.pdf",  -1, -1, 2 , 255, 0, 0
 |  |  |