See Also

Template Members

Description

Represents a document or section template.

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

Object Model



























































Interfaces

Implemented InterfaceDescription
Object 

Example

[ASP - VBScript] 

<% 
    ' Create a PDF Document 
    Dim MyDocument  
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" ) 
    ' Add 5 blank pages to the document 
    MyDocument.AddPage() 
    MyDocument.AddPage() 
    MyDocument.AddPage() 
    MyDocument.AddPage() 
    MyDocument.AddPage() 
    ' Create a template and add elements to it 
    ' Add the template to the document 
    Dim MyTemplate  
    Set MyTemplate = MyDocument.SetTemplate() 
    MyTemplate.AddLabel "Header", 0, 0, 200, 12 
    MyTemplate.AddLabel "Footer", 0, 680, 200, 12 
    ' Draw the PDF document 
    MyDocument.DrawToWeb 
    Set MyDocument = Nothing 
%>

See Also

Template Members

 

 


© Copyright 2007, ceTe Software