ceTe Software Help Library for COM/ActiveX - December 2011 Send comments on this topic.
Document Object
See Also  Members  Example

Glossary Item Box

Description

Represents a PDF document.

Object Model

Document ObjectDocumentJavaScript ObjectEmbeddedFile ObjectImportedPage ObjectOutline ObjectPage ObjectUrlOutline ObjectXYOutline ObjectZoomOutline ObjectColorManager CollectionDigitalSignatures ObjectWebCacheItem ObjectForm ObjectAttached ObjectDocumentLayout ObjectPage ObjectTagOptions ObjectLicensing ObjectMetrics ObjectPrepress ObjectEvenOddTemplate ObjectHighSecurity ObjectSection ObjectEvenOddTemplate ObjectTemplate ObjectStandardSecurity ObjectTemplate ObjectXmpMetaData ObjectTagOptions ObjectViewerPreferences Object

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 - VBScriptCopy Code
<!-- 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

© 2011 All Rights Reserved.