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

    Parameters

    pixelFormat
    The pixel format.
    palette
    The palette.

    Return Value

    The nearest supported raster pixel format.
    Exceptions
    ExceptionDescription
    Thrown if pixelFormat is Undefined.
    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