Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NImageFormat Class / CreateAndRegisterFormat Method
An object that implements the image format provider functionality.


In This Topic
    CreateAndRegisterFormat Method
    In This Topic
    Creates a new NImageFormat and registers it in the global image format registry.
    Syntax
    'Declaration
     
    
    Public Shared Function CreateAndRegisterFormat( _
       ByVal provider As INImageFormatProvider _
    ) As NImageFormat
    'Usage
     
    
    Dim provider As INImageFormatProvider
    Dim value As NImageFormat
     
    value = NImageFormat.CreateAndRegisterFormat(provider)
    public static NImageFormat CreateAndRegisterFormat( 
       INImageFormatProvider provider
    )

    Parameters

    provider
    An object that implements the image format provider functionality.

    Return Value

    The newly created image format object.
    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