ComponentOne Bitmap for WinForms
C1.Win.Bitmap.4.8 Assembly / C1.Win.Bitmap Namespace / C1Bitmap Class / ToGdiPixelFormat Method
The PixelFormat enumeration value.

In This Topic
    ToGdiPixelFormat Method
    In This Topic
    Returns the System.Drawing.Imaging.PixelFormat enumeration value for the given PixelFormat value.
    Syntax
    'Declaration
     
    Public Shared Function ToGdiPixelFormat( _
       ByVal pixelFormat As PixelFormat _
    ) As System.Drawing.Imaging.PixelFormat
    public static System.Drawing.Imaging.PixelFormat ToGdiPixelFormat( 
       PixelFormat pixelFormat
    )

    Parameters

    pixelFormat
    The PixelFormat enumeration value.
    See Also