Show / Hide Table of Contents

# Class PrintToPdfModule

An interface into Apryse SDKs Print To PDF functionality

##### Inheritance

object
PrintToPdfModule

##### Inherited Members

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

###### Namespace: pdftron.PDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public static class 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)