Saves the document as PDF.

 

   
Syntax
 
     

Doc.Save Path

 

   
Params
 
     
Name   Type   Description
Path String

The destination file path.

 

   
Notes
 
     

Use this method to export the current document as PDF. The supplied path is used as the destination. Any existing file will be overwritten.

If you need to obtain a PDF as raw data you can use the GetData function.

 

   
Example
 
     

The following code illustrates how one might add text to a PDF and then save it out.

Set theDoc = Server.CreateObject("ABCpdf3.Doc")
theDoc.FontSize = 96
theDoc.AddText "Hello World"
theDoc.Save "c:\docsave.pdf"


docsave.pdf

   

 

Browser Based Help. Published by chm2web software.