Note
For information about the possible usable PixelFormats on different platforms see the Remarks
section of the ConvertPixelFormat extension method.
public static bool IsSupportedNatively(
this PixelFormat pixelFormat
)<ExtensionAttribute>
Public Shared Function IsSupportedNatively (
pixelFormat As PixelFormat
) As Booleanpublic:
[ExtensionAttribute]
static bool IsSupportedNatively(
PixelFormat pixelFormat
)[<ExtensionAttribute>]
static member IsSupportedNatively :
pixelFormat : PixelFormat -> bool If pixelFormat does not represent a valid format (the IsValidFormat method returns ), then this method returns .
This method returns , if a Bitmap can be created with the specified pixelFormat. Even in such case there might be some limitations on the current operating system when using some PixelFormats.