Click or drag to resize
CanvasFontFaceGetRecommendedRenderingMode Method (Single, Single, CanvasTextMeasuringMode, CanvasTextRenderingParameters, Matrix3x2, Boolean, CanvasAntialiasing)
Determines the recommended rendering mode for the font, using the specified size and rendering constraints.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasTextRenderingMode GetRecommendedRenderingMode(
	float fontSize,
	float dpi,
	CanvasTextMeasuringMode measuringMode,
	CanvasTextRenderingParameters renderingParameters,
	Matrix3x2 transform,
	bool isSideways,
	CanvasAntialiasing outlineThreshold
)

Parameters

fontSize
Type: SystemSingle
dpi
Type: SystemSingle
measuringMode
Type: Microsoft.Graphics.Canvas.TextCanvasTextMeasuringMode
renderingParameters
Type: Microsoft.Graphics.Canvas.TextCanvasTextRenderingParameters
transform
Type: System.NumericsMatrix3x2
isSideways
Type: SystemBoolean
outlineThreshold
Type: Microsoft.Graphics.CanvasCanvasAntialiasing

Return Value

Type: CanvasTextRenderingMode
See Also