See Also

ImportedPage Members  | ceTe.DynamicPDF.Merger Namespace

Requirements

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)

Language

Visual Basic

C#

Show All

Represents an imported page.

For a list of all members of this type, see ImportedPage members.

Object Model




Inheritance Hierarchy

System.Object
   ceTe.DynamicPDF.Page
      ceTe.DynamicPDF.Merger.ImportedPage

Syntax

[Visual Basic]
Public Class ImportedPage    Inherits Page
[C#]
public class ImportedPage : Page

Remarks

This class can be used to pull a single selected page from an existing PDF document.

Example

This example shows you how to import one page of an existing PDF and save it as a separate PDF.

[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 an ImportedPage and add it to the document
        Dim MyPage As ImportedPage = New ImportedPage("C:\ImportPDF.pdf", 2, 50)
        MyDocument.Pages.Add( MyPage )

        ' Save the PDF
        MyDocument.Draw("C:\MyDocument.pdf")

    End Sub
End Module

[C#] 

using System; 
using ceTe.DynamicPDF; 
using ceTe.DynamicPDF.Merger; 
 
class MyClass 

    static void Main() 
    { 
        // Create a PDF Document 
        Document document = new Document(); 
 
        // Create an ImportedPage and add it to the document 
        ImportedPage page = new ImportedPage( @"C:\ImportPDF.pdf", 2, 50 ); 
        document.Pages.Add( page ); 
 
        // Save the PDF 
        document.Draw( @"C:\MyDocument.pdf" ); 
    } 
}

Licensing

This class is a DynamicPDF Merger Standard Edition feature. One of the following licenses is required for non-evaluation usage:

Requirements

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)

See Also

ImportedPage Members  | ceTe.DynamicPDF.Merger Namespace

 

 


© Copyright 2006, ceTe Software