Click or drag to resize
CanvasTextAnalyzer Constructor (String, CanvasTextDirection, CanvasNumberSubstitution, CanvasVerticalGlyphOrientation, UInt32)
Initializes a new instance of the CanvasTextAnalyzer class.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasTextAnalyzer(
	string text,
	CanvasTextDirection textDirection,
	CanvasNumberSubstitution numberSubstitution,
	CanvasVerticalGlyphOrientation verticalGlyphOrientation,
	uint bidiLevel
)

Parameters

text
Type: SystemString
textDirection
Type: Microsoft.Graphics.Canvas.TextCanvasTextDirection
numberSubstitution
Type: Microsoft.Graphics.Canvas.TextCanvasNumberSubstitution
verticalGlyphOrientation
Type: Microsoft.Graphics.Canvas.TextCanvasVerticalGlyphOrientation
bidiLevel
Type: SystemUInt32
Remarks

This constructor is for analyzing text where the number substitution, vertical glyph orientation, and bidi level are uniform within the text. For whenever that's not the case, use CanvasTextAnalyzer(String, CanvasTextDirection, ICanvasTextAnalyzerOptions)

It's valid to pass a zero-length string to this constructor.

See Also