PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview.Export Namespace / C1ExporterBase Class / CanPreviewOutputFile Method

In This Topic
    CanPreviewOutputFile Method (C1ExporterBase)
    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 Overrides Function CanPreviewOutputFile() As Boolean
    protected override bool CanPreviewOutputFile()

    Return Value

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