EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

Bitmap.GetHistogramSize method

Applies to: desktop apps only

The Bitmap::GetHistogramSize returns the number of elements (in an array of UINTs) that you must allocate before you call the Bitmap::GetHistogram method of a Bitmap object.

Syntax

Status GetHistogramSize(
  [in]   HistogramFormat format,
  [out]  UINT *NumberOfEntries
);

Parameters

format [in]

Type: HistogramFormat

Element of the HistogramFormat enumeration that specifies the pixel format of the bitmap.

NumberOfEntries [out]

Type: UINT*

Pointer to a UINT that receives the number of entries.

Return value

Type:

Type: Status

If the method succeeds, it returns Ok, which is an element of the Status enumeration.

If the method fails, it returns one of the other elements of the Status enumeration.

Examples

For an example, see Bitmap::GetHistogram.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Product

GDI+ 1.1

Header

GdiplusBitmap.h (include Gdiplus.h)

Library

Gdiplus.lib

DLL

Gdiplus.dll

See also

Bitmap

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

コミュニティの追加

表示:
© 2014 Microsoft