CGBitmapContext.BitsPerPixel Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Number of bits per pixel.
public nint BitsPerPixel { get; }member this.BitsPerPixel : nintProperty Value
Gets the number of bits per pixel for this CGBitmapContext object, or 0 if this object is not a bitmap context.