PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview.Export Namespace / Exporter Class / CanPreviewOutputFile Method

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

    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