How To: Export Document to PDF format
This example demonstrates how to export a document to PDF format using the PrintingSystemBase.ExportToPdf method.
To set the export options, an PdfExportOptions instance can be used. It provides a number of properties, such as PdfExportOptions.ImageQuality and PdfExportOptions.ConvertImagesToJpeg, allowing you to adjust the required settings for export.
//Set the required export options:
PdfExportOptions options = new PdfExportOptions();
options.DocumentOptions.Author = "Mark Jones";
options.Compressed = false;
options.ImageQuality = PdfJpegImageQuality.High;
//Export the document to the file:
richEditControl.ExportToPdf("Document.pdf",options);