PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview.Export Namespace / C1dExporter Class / CanPreviewOutputFile Method

In This Topic
    CanPreviewOutputFile Method (C1dExporter)
    In This Topic
    Overridden. Tests whether 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