[]
        
(Showing Draft Content)

C1.C1Preview.Export.Exporter.Export

Export Method

Export(string)

Exports the object specified by the Document property on the current exporter to the specified file.

Declaration
public void Export(string fileName)
Parameters
Type Name Description
string fileName

The name of the output file.

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.

Declaration
public void Export(Stream stream)
Parameters
Type Name Description
Stream stream

Stream object to store results of export.