InputPdf

Represents an input PDF.

public class InputPdf : IDisposable
Public Class InputPdf
    Implements IDisposable

Inheritance: ObjectInputPdf

Implements: IDisposable

Licensing Info

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

Examples

This example demonstrates how to rasterize a PDF document to JPEG.

Imports System
Imports ceTe.DynamicPDF.Rasterizer

Module MyModule

    Sub Main()

        ' Create an InputPdf object.
        Dim input As InputPdf = New InputPdf("InputPdfFile.pdf")

        ' Create a PdfRasterizer object.
        Dim rasterizer As PdfRasterizer = New PdfRasterizer(input)

        ' Create a JpegImageFormat object.
        Dim jpegImageFormat As JpegImageFormat = New JpegImageFormat(80)

        ' Save the image.
        rasterizer.Draw("Output.jpg", jpegImageFormat, ImageSize.Dpi72)

    End Sub
End Module
using System;
using ceTe.DynamicPDF.Rasterizer;

class MyClass
{
    static void Main(string[] args)
    {
        // Create an InputPdf object.
        InputPdf input = new InputPdf("InputPdfFile.pdf");

        // Create a PdfRasterizer object.
        PdfRasterizer rasterizer = new PdfRasterizer(input);
            
        // Create a JpegImageFormat object.
        JpegImageFormat jpegImageFormat = new JpegImageFormat(80);

        // Save the image.
        rasterizer.Draw("Output.jpg", jpegImageFormat,ImageSize.Dpi72);
    }
}

Constructors

InputPdf(Byte[])Initializes a new instance of the InputPdf class.
InputPdf(Byte[], String)Initializes a new instance of the InputPdf class.
InputPdf(Stream)Initializes a new instance of the InputPdf class.
InputPdf(Stream, 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 property of the PDF document.
Collection
CreatorGets the creator property of the PDF document.
KeywordsGets the keywords property of the PDF document.
PagesGets the InputPdfPageList containing the pages of the input PDF.
ProducerGets the producer property of the PDF document.
SubjectGets the subject property of the PDF document.
TitleGets the title property of the PDF document.

Methods

Dispose()
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.Rasterizer

In this topic