• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class DocumentPdfExporter

Extension methods for exporting a Document to PDF via DRIT.Pdf.

Inheritance
object
DocumentPdfExporter
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document.Export.Pdf
Assembly: DRIT.Document.dll
Syntax
public static class DocumentPdfExporter

Methods

SaveAsPdf(Document, Stream, DocumentPdfSaveOptions?)

Writes the document as PDF to stream. The stream is left open; the caller is responsible for disposing it.

Declaration
public static void SaveAsPdf(this Document document, Stream stream, DocumentPdfSaveOptions? options = null)
Parameters
Type Name Description
Document document
Stream stream
DocumentPdfSaveOptions options

SaveAsPdf(Document, string, DocumentPdfSaveOptions?)

Saves the document as a PDF file at filePath. Any existing file is overwritten.

Declaration
public static void SaveAsPdf(this Document document, string filePath, DocumentPdfSaveOptions? options = null)
Parameters
Type Name Description
Document document
string filePath
DocumentPdfSaveOptions options
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX