Export (0) Print
Expand All

GetPixelFormatSize function

Applies to: desktop apps only

The GetPixelFormatSize method returns the number of bits per pixel used by a specified pixel format.

Syntax

UINT GetPixelFormatSize(
  PixelFormat pixfmt
);

Parameters

pixfmt

Type: PixelFormat

A PixelFormat constant that specifies the pixel format to be tested.

Return value

Type:

Type: UINT

This method returns the number of bits per pixel used by the specified pixel format.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Product

GDI+ 1.1

Header

GdiplusPixelFormats.h (include Gdiplus.h)

Library

Gdiplus.lib

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft