Click or drag to resize
CanvasFontFaceGetGdiCompatibleGlyphMetrics Method
Gets the metrics and bounds of the glyphs that would get drawn, compatible with what GDI would produce, in em units.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasGlyphMetrics[] GetGdiCompatibleGlyphMetrics(
	float fontSize,
	float dpi,
	Matrix3x2 transform,
	bool useGdiNatural,
	int[] inputElements,
	bool isSideways
)

Parameters

fontSize
Type: SystemSingle
dpi
Type: SystemSingle
transform
Type: System.NumericsMatrix3x2
useGdiNatural
Type: SystemBoolean
inputElements
Type: SystemInt32
isSideways
Type: SystemBoolean

Return Value

Type: CanvasGlyphMetrics
See Also