PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview.Export Namespace / Exporter Class


In This Topic
    Exporter Class Methods
    In This Topic

    For a list of all members of this type, see Exporter members.

    Public Methods
     NameDescription
    Public MethodOverloaded. Exports the object specified by the Exporter.Document property on the current exporter to the specified file.  
    Public MethodDisplays a dialog that allows the user to edit the export options.  
    Top
    Protected Methods
     NameDescription
    Protected MethodTests whether Exporter.OutputFileName can be previewed. This (base) implementation uses FindExecutable API to find an appropriate executable, and returns a value indicating whether it has been found or not.

    If you override this, you must also override Exporter.PreviewOutputFile.

     
    Protected MethodResets the internal state of the exporter and all its public properties.  
    Protected MethodIndicates whether page metafiles of types System.Drawing.Imaging.EmfType.EmfPlusDual and System.Drawing.Imaging.EmfType.EmfPlusOnly should be converted to System.Drawing.Imaging.EmfType.EmfOnly type before exporting. The base implementation returns false.  
    Protected MethodCopies the options from the specified export options form to corresponding properties on the current exporter. Can be overridden in a derived class to handle format-specific options.  
    Protected MethodCopies the properties of the current exporter to corresponding user-editable options of the specified export options form. Can be overridden in a derived class to handle format-specific options.  
    Protected MethodMakes sure the Exporter.Document has been generated if it is an instance of the C1.C1Preview.C1PrintDocument class.  
    Protected MethodProcesses (exports) all pages in the range to be exported.  
    Protected MethodGets the file name (with path) for the file containing the specified page. Used only for export formats that save a page per file (e.g. TIFF).  
    Protected MethodPerforms export to a disk file or to a stream. The destination (file or stream) is determined by which of the properties (Exporter.OutputFileName or Exporter.OutputStream) is non-null when this method executes.  
    Protected MethodCalled after the Exporter.Document property has been changed. If you override this, make sure this base method also gets called.  
    Protected MethodSet page draw parameters.  
    Protected MethodPreviews Exporter.OutputFileName. This (base) implementation uses System.Diagnostics.Process.Start() to open the output file.

    Override this if you override Exporter.CanPreviewOutputFile.

     
    Protected MethodExports a page of a document represented by a System.Drawing.Imaging.Metafile.  
    Protected MethodResets the internal state of the exporter.  
    Top
    See Also