Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NImageFormat Class / GetFileTypes Method / GetFileTypes(Boolean,Boolean) Method
Indicates whether to get the file types for reading or for writing.

In This Topic
    GetFileTypes(Boolean,Boolean) Method
    In This Topic
    Gets an array that describes the allowed file formats for open/save file dialogs. All registered image formats are included.
    Public Overloads Shared Function GetFileTypes( _
       ByVal forReading As System.Boolean, _
       ByVal includeMetafileFormats As System.Boolean _
    ) As NFileDialogFileType()
    Dim forReading As System.Boolean
    Dim includeMetafileFormats As System.Boolean
    Dim value() As NFileDialogFileType
    value = NImageFormat.GetFileTypes(forReading, includeMetafileFormats)
    public static NFileDialogFileType[] GetFileTypes( 
       System.bool forReading,
       System.bool includeMetafileFormats


    Indicates whether to get the file types for reading or for writing.

    Return Value

    An aray of items that describe the allowed file formats.

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also