StringFormat::GetMeasurableCharacterRangeCount method (gdiplusstringformat.h)

The StringFormat::GetMeasurableCharacterRangeCount method gets the number of measurable character ranges that are currently set. The character ranges that are set can be measured in a string by using the MeasureCharacterRanges method.

Syntax

INT GetMeasurableCharacterRangeCount();

Return value

Type: INT

This method returns an integer that indicates the number of character ranges that can be measured by MeasureCharacterRanges.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusstringformat.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

MeasureCharacterRanges

StringFormat

StringFormat::SetMeasurableCharacterRanges