- Home
- Testimonials
- Purchase
- Developer Tools
- Desktop Utilities
- Download
- Support
- Blog
- Company
The PDFDoc Scout SDK product has been acquired by Lionsoft company in January, 2011 and not available on our web-site anymore.
NEW: pdf generator for Web Developers: PDF Generator SDK for Javascript: click here to read more details...
For 3rd party C# open-source PDF generation library? Check the blog article: .NET Bear, Do You Know Any Free PDF Generation Libraries For Use In Commercial Applications?
Check our commercial products for PDF format:
PDF Extractor SDK - extract tables, text, structured data from PDF files in your apps
PDF Renderer SDK - render PDF files to PNG, BMP, TIFF images in your apps
PDF To HTML SDK - convert PDF to HTML with images and formatting preserved
How to attach files to generated PDF document using PDFDoc Scout library:
You can download the source code of this example here: pdfdocscout_attaching_files.zip
This example shows how to attach files to the generated PDF document with PDFDoc Scout library
Attached files are displayed on "Attachments" tab when you view PDF document in Adobe Reader:

' this example demonstrates how to attach file to generated PDF document using PDFDoc Scout
Set PDFDoc = CreateObject("PDFDocScout.PDFDocument") ' create PDFDoc object
PDFDoc.InitLibrary "demo", "demo" ' initialize library
PDFDoc.OutputFileName = "AttachedFiles.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 a page
PDFDoc.Page.AddText "Testing Attached Files ('sample.png' file attached - see ATTACHMENTS tabs at the left)", 100, 10, 0
PDFDoc.AddAttachedFile "sample.png", "Sample.png File"
PDFDoc.EndDocument ' close pdf document generation
' disconnect from library
Set PDFDoc = Nothing
You can download the source code of this example here: pdfdocscout_attaching_files.zip
Filed in:
PDFDoc Scout SDK
Tutorials:


