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

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