Description
Loads a existing PDF document pages into the calling document object.
Parameters
- PdfDocument
- PDF document to import.
- StartPage
- Optional. Starting page number of an existing PDF document which needs to be imported to the calling document object. Default value is 1.
- PageCount
- Optional. Number of pages to import from an existing PDF document from the starting page number.
- MergeOptions
- MergeOptions object specifying the merge options.
Remarks
LoadPdf method overwrites document contents with the existing PDF document which is passed as file path.
Example
[ASP - VBScript]
<% Dim MyDocument Dim MyPage Set MyDocument = Server.CreateObject( "DynamicPDF.Document" ) MyDocument.LoadPdf Server.MapPath( "PDFs/DocumentA.pdf" ) Set MyPage = MyDocument.GetPage( 1 ) MyPage.AddLabel "Appended Label", 100, 300, 150, 40 MyDocument.DrawToWeb Set MyPage = Nothing Set MyDocument = Nothing %>
|
See Also
Document Object
© Copyright 2007, ceTe Software