See Also

Page Members

Description

Represents a page.

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

Object Model



























































Remarks

This class can be used to create pages to add to your Document.

Interfaces

Implemented InterfaceDescription
Object 

Example

[ASP - VBScript] 

<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"--> 
<% 
    Dim MyDocument   
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )  
    ' Create a page dimensions object and set the margins 
    MyDocument.DefaultMarginBottom = 50 
    MyDocument.DefaultMarginTop = 50 
    MyDocument.DefaultMarginLeft = 35 
    MyDocument.DefaultMarginRight = 35 
    ' Create a page using a page dimensions object and add it to the document 
    Dim MyPage  
    Set MyPage = MyDocument.AddPage() 
    Dim MyLabel 
    ' Add a label to the page 
    Set MyLabel = MyPage.AddLabel( "This page was rotated 90 degrees.", 0, 0, 300, 20 ) 
    MyLabel.Font = DPDF_Font_Helvetica 
    MyLabel.FontSize = 18 
    ' Rotate the page 90 degrees 
    MyPage.Rotate = 90 
    ' Save the PDF 
    MyDocument.DrawToWeb 
    Set MyPage = Nothing 
    Set MyDocument = Nothing 
%> 
 

See Also

Page Members

 

 


© Copyright 2007, ceTe Software