Represents the contents used by an the ImportedPageData class.
For a list of all members of this type, see ImportedPageContents members.
System.Object
ceTe.DynamicPDF.Resource
ceTe.DynamicPDF.Merger.ImportedPageContents
[Visual Basic]
Public Class ImportedPageContents
Inherits Resource[C#]
public class ImportedPageContents : ResourceThis class can be used to reuse a pages contents in multiple ImportedPageData objects. Doing so will reduce the size of the output PDF because the contents will only appears in the output document once.
This example shows you how to import one page of an existing PDF using this class.
[Visual Basic]
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.Merger
Module MyModule
Sub Main()
' Create a PDF Document
Dim MyDocument As Document = New Document
' Create a Page and add it to the document
Dim MyPage As Page = New Page
MyDocument.Pages.Add(MyPage)
' Create an ImportedPageContents object
Dim MyContents As ImportedPageContents = _
New ImportedPageContents( "C:\ImportPDF.pdf", 2 )
' Create an ImportedPage and add it to the document
Dim MyData As ImportedPageData = New ImportedPageData( _
MyContents, -200, -100, 0.24F )
MyPage.Elements.Add(MyData)
' Save the PDF
MyDocument.Draw("C:\MyDocument.pdf")
End Sub
End Module
[C#]
using System; |
This class is a DynamicPDF Merger Professional Edition feature. One of the following licenses is required for non-evaluation usage:
Namespace: ceTe.DynamicPDF.Merger
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: ceTe.DynamicPDF (in ceTe.DynamicPDF.dll)
ImportedPageContents Members | ceTe.DynamicPDF.Merger Namespace
© Copyright 2007, ceTe Software