See Also

Document Object

!UNRECOGNISED ELEMENT TYPE 'defaultmemberrequirements'!
AllowCaching
Optional. Specifies if page can be cached on the clients browser. If false HTTP headers are added to the prevent caching. Defaults to false.

Description

Outputs the PDF document to the Response object of the ASP page calling this object.

Syntax

Public Sub DrawToWeb( _
   Optional ByVal AllowCaching As Boolean = False _
) 

Parameters

AllowCaching
Optional. Specifies if page can be cached on the clients browser. If false HTTP headers are added to the prevent caching. Defaults to false.

Example

[ASP - VBScript] 

<% 
    Dim MyDocument 
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )  
    Dim MyPage  
    Set MyPage = MyDocument.AddPage() 
    Dim MyImportedPageArea  
    ' Substitute with own pdf Document below 
    Set MyImportedPageArea =  MyPage.AddImportedPageArea( Server.MapPath( "PDFs/fw9AcroForm_03.pdf" ), 1, 0, 0, 50 ) 
    MyImportedPageArea.Contents.ClipLeft = 10 
    MyImportedPageArea.Contents.ClipTop = 10 
    MyImportedPageArea.Contents.ClipRight = 10 
    MyImportedPageArea.Contents.ClipBottom  = 10 
    Response.Clear() 
    MyDocument.DrawToWeb 
    Set MyPage = Nothing 
    Set MyDocument = Nothing 
%>

See Also

Document Object

 

 


© Copyright 2007, ceTe Software