VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFactory Class / GetNearestSupportedRasterPixelFormat Methods / GetNearestSupportedRasterPixelFormat(PixelFormat) Method
Syntax Requirements SeeAlso
In This Topic
    GetNearestSupportedRasterPixelFormat(PixelFormat) Method (DrawingFactory)
    In This Topic
    Returns the nearest supported raster pixel format.
    Syntax
    'Declaration
    
    Public Overloads Function GetNearestSupportedRasterPixelFormat( _
    ByVal pixelFormat
    The pixel format.
    As Vintasoft.Imaging.PixelFormat _
    ) As Vintasoft.Imaging.PixelFormat
    public Vintasoft.Imaging.PixelFormat GetNearestSupportedRasterPixelFormat(
    Vintasoft.Imaging.PixelFormat pixelFormat
    )
    public: Vintasoft.Imaging.PixelFormat GetNearestSupportedRasterPixelFormat(
    Vintasoft.Imaging.PixelFormat pixelFormat
    )
    public:
    Vintasoft.Imaging.PixelFormat GetNearestSupportedRasterPixelFormat(
    Vintasoft.Imaging.PixelFormat pixelFormat
    )

    Parameters

    pixelFormat
    The pixel format.

    Return Value

    The nearest supported raster pixel format.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also