- Home
- Products For Home & Business
- Tools For Developers
- Download
- Purchase
- Support
- Company
QUESTIONS OR COMMENTS ABOUT PRODUCTS? WRITE US AT SUPPORT@BYTESCOUT.COM OR USE THIS FORM
QUESTIONS OR COMMENTS ABOUT PRODUCTS? WRITE US AT SUPPORT@BYTESCOUT.COM OR USE THIS FORM
You can download the source code of this example here: pdfdocscout_asp.zip
PDFDoc Scout library can be used in scripting languages that support ActiveX/COM objects: Javascript, VBScript, ASP and ASP.NET scripted languages. This page will show how create the PDF document using VBScript and PDFDoc Scout library.
Set PDFDoc = CreateObject("PDFDocScout.PDFDocument") ' create PDFDoc object
PDFDoc.InitLibrary "demo", "demo" ' initialize library
PDFDoc.OutputFileName = "HelloWorld.pdf" ' set output filename for PDF document
PDFDoc.AutoOpenGeneratedPDF = true ' automatically open generated PDF document in default PDF viewer application
PDFDoc.BeginDocument ' starts PDF document generation
' add text to current page - draw text at (100,100) and rotate at 15 degrees
PDFDoc.Page.AddText "Hello, World!", 100, 100, 15
PDFDoc.EndDocument ' close pdf document generation
' disconnect from library
Set PDFDoc = Nothing

Tutorials: