PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview.Export Namespace / C1dExporterBase Class / CanPreviewOutputFile Method

In This Topic
    CanPreviewOutputFile Method (C1dExporterBase)
    In This Topic
    Overridden. Tests whether Exporter.OutputFileName can be previewed. Calls the base implementation, if that returns false, tries to create an instance of C1.Win.C1Preview.C1PrintPreviewDialog, returns true if succeeds.
    Syntax
    'Declaration
     
    Protected Overridable Function CanPreviewOutputFile() As Boolean
    protected virtual bool CanPreviewOutputFile()

    Return Value

    true if the output file can be previewed, false otherwise.
    See Also