ComponentOne Bitmap for WinForms
C1.Win.Bitmap.4.5.2 Assembly / C1.Win.Bitmap Namespace / C1Bitmap Class / FromGdiPixelFormat Method
The source value of the System.Drawing.Imaging.PixelFormat type.

In This Topic
    FromGdiPixelFormat Method
    In This Topic
    Converts a System.Drawing.Imaging.PixelFormat to the PixelFormat enumeration value.
    Syntax
    'Declaration
     
    Public Shared Function FromGdiPixelFormat( _
       ByVal pixelFormat As System.Drawing.Imaging.PixelFormat _
    ) As PixelFormat
    public static PixelFormat FromGdiPixelFormat( 
       System.Drawing.Imaging.PixelFormat pixelFormat
    )

    Parameters

    pixelFormat
    The source value of the System.Drawing.Imaging.PixelFormat type.
    See Also