Home

PDFDoc Scout

PDFDoc Scout screenshot (click to enlarge)



PDFDoc Scout library - Sample for KiXtart

Download Free Trial See Licensing Options More Information

Using PDFDoc Scout library from KiXtart

How to create PDF document from KiXtart: "Hello, World!" PDF document

This guide will teach you how to create simple PDF document using PDFDoc Scout library and KiXtart. Thanks to Marty Vijverberg for the contribution!

Break on

;create PDFDoc object
$PDFDoc = CreateObject("PDFDocScout.PDFDocument")

;initialize library
$PDFDoc.InitLibrary("demo", "demo")

;set output filename for PDF document
$PDFDoc.OutputFileName = "c:\HelloWorld.pdf"
;automatically open generated PDF document in default PDF viewer application
$PDFDoc.AutoOpenGeneratedPDF = True

;starts PDF document generation
$PDFDoc.BeginDocument

;add text to current page - draw text At (100,100) And rotate At 15 degrees
$PDFDoc.Page.AddText("Hello, World!", 100, 100, 15)

;close pdf document generation
$PDFDoc.EndDocument

;disconnect from library
$PDFDoc = ""

Download Free Trial See Licensing Options More Information


See also: Bytescout.PDF - native .NET library to write/read/sign/
modify/merge/split PDF documents (but no HTML2PDF support)



On-line documentation (HTML format)


"Hello, World!" quick start step-by-step tutorials:

Products  |  Download  |  Purchase  |  Support  |  Contacts  |  Testimonials  |  News |  

ByteScout, 2003-2008. All other company and product names may be trademarks of their respective companies. Privacy Statement