FromGdiPixelFormat Method
Converts a System.Drawing.Imaging.PixelFormat to the PixelFormat enumeration value.
public static PixelFormat FromGdiPixelFormat(
System.Drawing.Imaging.PixelFormat
)
'Declaration
Public Shared Function FromGdiPixelFormat( _
ByVal As System.Drawing.Imaging.PixelFormat _
) As PixelFormat
Parameters
- pixelFormat
- The source value of the System.Drawing.Imaging.PixelFormat type.