Describes export to Adobe PDF format.
Namespace:
C1.C1Preview.ExportAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public class PdfExportProvider : PagesExportProvider |
Visual Basic |
---|
Public Class PdfExportProvider _ Inherits PagesExportProvider |
Examples
The following code exports the C1PrintDocument to PDF:
Copy CodeVisual Basic
Dim exPdf As C1.C1Preview.Export.PdfExporter = TryCast(C1.C1Preview.Export.ExportProviders.PdfExportProvider.NewExporter, C1.C1Preview.Export.PdfExporter) exPdf.Document = doc exPdf.ShowOptions = True ' Set other options as needed. exPdf.Export("test.pdf") |
Copy CodeC#
C1.C1Preview.Export.PdfExporter exPdf = C1.C1Preview.Export.ExportProviders.PdfExportProvider.NewExporter() as C1.C1Preview.Export.PdfExporter; exPdf.Document = doc; exPdf.ShowOptions = true; // Set other options as needed. exPdf.Export("test.pdf"); |
Inheritance Hierarchy
System..::..Object
C1.C1Preview.Export..::..ExportProvider
C1.C1Preview.Export..::..PagesExportProvider
C1.C1Preview.Export..::..PdfExportProvider
C1.C1Preview.Export..::..ExportProvider
C1.C1Preview.Export..::..PagesExportProvider
C1.C1Preview.Export..::..PdfExportProvider