The PdfExporter type exposes the following members.

Methods

  Name Description
Public method Export(Stream)
Exports the object specified by the Document property on the current exporter to the specified Stream.

Note that some export formats do not support exporting to streams. Test the value returned by the CanExportToStream property on ExportProvider prior to calling this method.

(Inherited from Exporter.)
Public method Export(String)
Exports the object specified by the Document property on the current exporter to the specified file.
(Inherited from Exporter.)
Public method ShowOptionsDialog
Displays a dialog that allows the user to edit the export options.
(Inherited from Exporter.)

Properties

  Name Description
Public property Document
Gets or sets the object representing the document that will be exported by the current exporter's Export(String) or Export(Stream) methods.
(Inherited from Exporter.)
Public property DocumentInfo
Gets or sets the DocumentInfo object associated with the Document assigned to the current exporter.
(Inherited from Exporter.)
Public property DocumentInfoFormClass
Gets or sets the type of form that is used to edit the fields of DocumentInfo class. That form can be invoked from the export options form (OptionsFormClass). The form's type must be assignable to DocumentInfoForm.
(Inherited from Exporter.)
Public property EmbedTrueTypeFonts
Gets or sets a value indicating whether to embed TrueType fonts used in the source document, in the produced PDF document. The default is true.
Public property ExportProvider (Overrides Exporter..::..ExportProvider.)
Public property FormFields
Gets or sets a value indicating whether to export input fields as Acrobat Form fields. The default is true.
Public property OptionsFormClass
Gets or sets the type of form that is used to edit export options. That form is shown when the Export(String) or the Export(Stream) method is called if ShowOptions is true. The form's type must be assignable to the type specified by the DefaultOptionsFormClass property.
(Inherited from Exporter.)
Public property OptionsFormClassName
Gets or sets the type name of form that is used to edit export options. That form is shown when the Export(String) or the Export(Stream) method is called if ShowOptions is true. The form's type must be assignable to the type specified by the DefaultOptionsFormClass property.
(Inherited from Exporter.)
Public property OutputFiles
Gets the list of files which were generated by the call to Export(String). Typically exporters produce a single file (e.g. RtfExporter, XlsExporter), but some (like HtmlExporter and EmfExporter) may produce several files all of which can be then accessed through this property.
(Inherited from Exporter.)
Public property PdfViewerPreferencesFormClass
Gets or sets the type of form that is used to edit the ViewerPreferences associated with the PDF documents that is exported. The form type must be PdfViewerPreferencesForm or derived from it. That form is invoked from the export options form.
Public property Preview
Gets or sets a value indicating whether the exported document should be opened after exporting it to a disk file (using the Export(String) method). The application used to open the file is determined by the OS shell.
(Inherited from Exporter.)
Public property Range
Gets or sets the range of pages that is to be exported.
(Inherited from Exporter.)
Public property RangeFormClass
Gets or sets the type of form that is used to enter the export output range. That form can be invoked from the export options form (OptionsFormClass). The form's type must be assignable to OutputRangeForm.
(Inherited from Exporter.)
Public property ReferenceGraphics
Specifies the Graphics object used by export. For example, that Graphics can be used to convert EmfPlusDual or EmfPlusOnly metafiles to EmfOnly. If this property is null, the screen device context is used.
(Inherited from Exporter.)
Public property Security
Gets the PdfSecurity object describing security properties of the produced PDF document.
Public property ShowOptions
Gets or sets a value indicating whether the options dialog should be shown to the user before exporting the document.
(Inherited from Exporter.)
Public property UseCompression
Gets or sets a value indicating whether to use compression in the produced PDF document. The default is true.
Public property ViewerPreferences
Gets the PdfViewerPreferences object describing viewer preferences to be used when the produced PDF document is opened.

Events

  Name Description
Public event LongOperation
Occurs periodically during export. Allows to show progress and give the end user the ability to cancel the operation.
(Inherited from Exporter.)

See Also