CharacterRange::CharacterRange(INT,INT) method (gdiplustypes.h)

Creates a CharacterRange::CharacterRange object and initializes the data members to the values specified.

Syntax

void CharacterRange(
  [in] INT first,
  [in] INT length
);

Parameters

[in] first

Type: INT

Integer that specifies the first position of this range. For example, if first is set to 0, then the first position of this range is position 0 in the string.

[in] length

Type: INT

Integer that specifies the number of positions in this range.

Return value

None

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 gdiplustypes.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

CharacterRange

GetMeasurableCharacterRangeCount

MeasureCharacterRanges

SetMeasurableCharacterRanges