See Also

BackgroundImage Members

Description

Represents a background image.

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

Remarks

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

Interfaces

Implemented InterfaceDescription
Object 

Example

[ASP - VBScript] 

<% 
    ' 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 a background image 
    Dim MyBackgroundImage  
    Set MyBackgroundImage = MyPage.AddBackgroundImage( Server.MapPath( "Images/DPDFLogo_TM.png" ) ) 
    ' Place the image with in the page margins  
    MyBackgroundImage.UseMargins = True 
    ' Draw the PDF 
    MyDocument.DrawToWeb 
    Set MyPage = Nothing 
    Set MyDocument = Nothing 
%> 
 

See Also

BackgroundImage Members

 

 


© Copyright 2007, ceTe Software