Description
Sets a Template object for the document. All page elements within this Template will appear in the foreground of the other contents of the PDF.
Syntax
Public Function SetStampTemplate() As Template
Return Type
A Template 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" ) ' Add 5 blank pages to the document MyDocument.AddPage() MyDocument.AddPage() MyDocument.AddPage() MyDocument.AddPage() MyDocument.AddPage() ' Create a Stamp template and add elements to it ' Add the template to the document Dim MyStampTemplate Set MyStampTemplate = MyDocument.SetStampTemplate() MyStampTemplate.AddLabel "Header", 0, 0, 200, 12 MyStampTemplate.AddLabel "Footer", 0, 680, 200, 12 ' Draw the PDF document MyDocument.DrawToWeb Set MyDocument = Nothing %> |
See Also
Document Object
© Copyright 2007, ceTe Software