Click or drag to resize

FndRTLGraphics.MeasureCharacterRanges Method

Gets an array of System.Drawing.Region objects, each of which bounds a range of character positions within the specified string.

Namespace:  Ifs.Fnd.Core
Assembly:  Ifs.Fnd.Core (in Ifs.Fnd.Core.dll) Version: 4.52.10.0 (10.2.2.9999)
Syntax
C#
public Region[] MeasureCharacterRanges(
	string text,
	Font font,
	RectangleF layoutRect,
	StringFormat stringFormat
)

Parameters

text
Type: System.String
String to measure.
font
Type: System.Drawing.Font
System.Drawing.Font that defines the text format of the string.
layoutRect
Type: System.Drawing.RectangleF
System.Drawing.RectangleF structure that specifies the layout rectangle for the string.
stringFormat
Type: System.Drawing.StringFormat
System.Drawing.StringFormat that represents formatting information, such as line spacing, for the string.

Return Value

Type:Region[]
This method returns an array of System.Drawing.Region objects, each of which bounds a range of character positions within the specified string.
See Also