See Also

Image Members

Description

Represents an image.

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

Remarks

This class can be used to place images on a page. If an image will be used more than once, please see the Image Reuse topic.

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()  
    ' Create an image object and add the image to the page from a file in a Path  
    Dim MyImage  
    Set MyImage = MyPage.AddImage( Server.MapPath( "../Images/DynamicPDF_top.gif" ), 0, 0 ) 
    MyImage.SetDpi(40) 
    ' Draw the PDF  
    MyDocument.DrawToWeb  
    Set MyPage = Nothing  
    Set MyDocument = Nothing  
%>

See Also

Image Members

 

 


© Copyright 2007, ceTe Software