Show / Hide Table of Contents

# Class PrintToPdfModule

An interface into Apryse SDKs Print To PDF functionality

##### Inheritance

object
PrintToPdfModule

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()

###### Namespace: pdftron.PDF

###### Assembly: PDFNet.dll

##### Syntax

    public sealed class PrintToPdfModule

### Constructors

#### PrintToPdfModule()

##### Declaration

    public PrintToPdfModule()

### Methods

#### IsModuleAvailable()

Find out whether the PrintToPdf module is available.

##### Declaration

    public static bool IsModuleAvailable()

##### Returns

Type | Description
--- | ---
bool | returns true if PrintToPdf can be performed

#### PrintToPdf(PDFDoc, string, PrintToPdfOptions)

Generate a PDF file by printing a document to the Apryse PDF printer via the Windows print verb.

##### Declaration

    public static void PrintToPdf(PDFDoc pdf_doc, string file_to_print, PrintToPdfOptions options)

##### Parameters

Type | Name | Description
--- | --- | ---
PDFDoc | pdf_doc | The destination document
string | file_to_print | The source document filename
PrintToPdfOptions | options | Print options (optional)