See Also

Document Members

Description

Represents a PDF document.

For a list of all members defined in this module, see Document members.

Object Model























Remarks

This is the primary class used to generate the dynamic PDF document. It represents a single PDF document and is made up of pages and outlines. The document can have a HighSecurity object associated or a StandardSecurity object associated with it to control document security and encryption. The document can be output to a byte array object or file and can easily be integrated with ASP to stream the document to Internet Information Server's HTTP output.

Interfaces

Implemented InterfaceDescription
Object 

Example

[ASP - VBScript] 

<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"--> 
<% 
    ' Create a PDF Document 
    Dim MyDocument  
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )  
    ' Create a Page and add it to the document 
    Dim MyPage  
    Set MyPage = MyDocument.AddPage() 
    ' Add a label to the page 
    Dim MyLabel 
    Set MyLabel = MyPage.AddLabel( "My PDF Document", 0, 0, 512, 40 ) 
    MyLabel.Font = DPDF_Font_Helvetica 
    MyLabel.FontSize = 30 
    MyLabel.Align = DPDF_Align_Center 
    ' Draw the PDF document 
    MyDocument.DrawToWeb 
    Set MyPage = Nothing 
    Set MyDocument = Nothing 
%> 
 

See Also

Document Members

 

 


© Copyright 2007, ceTe Software