InputPdf

Represents a pdf containing the pages to be added to the print job.

public class InputPdf : IDisposable
Public Class InputPdf
    Implements IDisposable

Inheritance: ObjectInputPdf

Implements: IDisposable

Licensing Info

This class is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:

Examples

The following examples creates a print job, adds PDF pages to print the job and prints the job.

Imports System
Imports ceTe.DynamicPDF.Printing

Module MyModule

    Sub Main()

        ' Create a print job
        Dim MyPrintJob As PrintJob = New PrintJob("PrinterName")

        ' Create an InputPdf object to hold the source PDF
        Dim MyInputPdf As InputPdf = New InputPdf("C:\MyDocument.pdf", "password")

        ' Add the InputPdf's pages to the print job
        MyPrintJob.Pages.Add(MyInputPdf)

        ' Print the job
        MyPrintJob.Print()
    End Sub
End Module
using System;
using ceTe.DynamicPDF.Printing;

class MyClass
{
    static void Main()
    {
        // Create a print job
        PrintJob printJob = new PrintJob("PrinterName");

        // Create an InputPdf object to hold the source PDF
        InputPdf inputPdf = new InputPdf(@"C:\MyDocument.pdf", "password");

        // Add the InputPdf's pages to the print job
        printJob.Pages.Add(inputPdf);

        // Print the job
        printJob.Print();
    }
}

Constructors

InputPdf(Byte[])Initializes a new instance of the InputPdf class.
InputPdf(Byte[], String)Initializes a new instance of the InputPdf class.
InputPdf(String)Initializes a new instance of the InputPdf class.
InputPdf(String, String)Initializes a new instance of the InputPdf class.

Properties

AttachmentsGets the Attachment Files of PDF document.
AuthorGets the author of the PDF document.
CreatorGets the creator of the PDF document.
KeywordsGets the keywords of the PDF document.
PagesGets the InputPdfPageList object that represents a collection of pages.
ProducerGets the producer of the PDF document.
SubjectGets the subject of the PDF document.
TitleGets the title of the PDF document.

Methods

Dispose()Clean up any resources being used.
Equals(Object)Determines whether the specified Object is equal to the current Object .
(Inherited from Object)
GetHashCode()Serves as a hash function for a particular type.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a String that represents the current Object .
(Inherited from Object)

See Also

ceTe.DynamicPDF.Printing

In this topic