CharacterRange class (gdiplustypes.h)
A CharacterRange object specifies a range of character positions within a string.
Methods
The CharacterRange class has these methods.
CharacterRange::CharacterRange Creates a CharacterRange::CharacterRange object and initializes the data members to the values specified. |
CharacterRange::CharacterRange Creates a CharacterRange::CharacterRange object with the data members set to zero. |
CharacterRange::operator= The CharacterRange::operator= method sets this CharacterRange object equal to the specified CharacterRange object. |
Remarks
A character range is a range of character positions within a string of text. The area of the display that is occupied by a group of characters that are specified by the character range is the bounding region. A character range is set by StringFormat::SetMeasurableCharacterRanges. The number of ranges that are currently set can be determined by calling StringFormat::GetMeasurableCharacterRangeCount. This number is also the number of regions expected to be obtained by the MeasureCharacterRanges method.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | gdiplustypes.h |