PDFDoc Scout |
PDFDoc Scout library - Sample
Quick Guide on using PDFDoc Scout library
with ClickOnce deployment style in ASP.NET 2 web-sites
You can download the source code of this example here: pdfdocscout_using_watermarks.zip This example describes how to use watermarking support in PDFDoc Scout library (using HTML2PDF rendering features to produce watermark text):
Option Explicit Dim PDFDoc, WatermarkIndex, WatermarkPage, i, j PDFDoc.InitLibrary "demo", "demo" PDFDoc.BeginDocument ' create a watermak WatermarkPage.AddHTMLBox "This is a <b>header</b>
text watermark", 0,0,400,100, false WatermarkPage.AddHTMLBox "This is a <b>Footer</b> text watermark", 0, PDFDoc.PageHeight-300,PDFDoc.PageWidth,PDFDoc.PageHeight, false For I = 0 to 20 ' now set watermark for all existing pages in PDF document For I=0 to PDFDoc.PagesCount-1 PDFDoc.EndDocument ' close PDF document generation ' disconnect from library You can download the source code of this example
here: pdfdocscout_using_watermarks.zip
"Hello, World!" quick start step-by-step tutorials: |
|
|
||