Nevron .NET Vision
Nevron.GraphicsCore Namespace / NRasterImageFormat Class / GetPixelFormatBpp Method


In This Topic
    GetPixelFormatBpp Method
    In This Topic
    Returns the bits per pixels associated with the pixel format.
    Syntax
    'Declaration
     
    
    Public Shared Function GetPixelFormatBpp( _
       ByVal pixelFormat As System.Drawing.Imaging.PixelFormat _
    ) As System.Integer
    'Usage
     
    
    Dim pixelFormat As System.Drawing.Imaging.PixelFormat
    Dim value As System.Integer
     
    value = NRasterImageFormat.GetPixelFormatBpp(pixelFormat)
    public static System.int GetPixelFormatBpp( 
       System.Drawing.Imaging.PixelFormat pixelFormat
    )

    Parameters

    pixelFormat
    Remarks
    The control supports only 16, 24 and 32 bpp rendering.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also