Method function IGDIPlus.IGPGraphics.MeasureCharacterRangesF(WideString;IGPFont;TGPPointF;IGPStringFormat) : TGPRegionArray

From Mitov Wiki Doc
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: IGPGraphics

Contents

Syntax

Delphi:

function MeasureCharacterRangesF( string_ : WideString, font : IGPFont, origin : TGPPointF, stringFormat : IGPStringFormat ) : TGPRegionArray;

C++ Builder:

TGPRegionArray __fastcall MeasureCharacterRangesF( WideString string_, IGPFont font, TGPPointF origin, IGPStringFormat stringFormat );

Visual C++ (MFC):

MeasureCharacterRangesF(  string_,  font,  origin,  stringFormat );

Summary

Returns a set of regions each of which bounds a range of character positions within a string.

Description

Call this method to get a set of regions each of which bounds a range of character positions within a string. 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 TGPStringFormat.SetMeasurableCharacterRanges. The number of ranges that are currently set can be determined by calling TGPStringFormat.GetMeasurableCharacterRangeCount. This number is also the number of regions expected to be obtained by the MeasureCharacterRanges method.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox