NevronOpenVision
Nevron.Nov.Diagram.Formats Namespace / NVisioService Class / TryGetFileFormat<TEnum> Method
An Aspose load or save file enumeration.
A file extension without the dot, for example "vsdx", "vdx", "vdx", "vss", etc.
The Aspose.Diagram file format representing files with the given extension.
In This Topic
    TryGetFileFormat<TEnum> Method
    In This Topic
    Tries to get an Aspose load or save file format from the given file extension.
    Syntax
    protected static System.bool TryGetFileFormat<TEnum>( 
       System.string extension,
       out TEnum fileFormat
    )
    where TEnum: new(), struct

    Parameters

    extension
    A file extension without the dot, for example "vsdx", "vdx", "vdx", "vss", etc.
    fileFormat
    The Aspose.Diagram file format representing files with the given extension.

    Type Parameters

    TEnum
    An Aspose load or save file enumeration.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also