Click or drag to resize
CanvasFontFaceGetRecommendedRenderingMode Method (Single, Single, CanvasTextMeasuringMode, CanvasTextRenderingParameters)
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
)

Parameters

fontSize
Type: SystemSingle
dpi
Type: SystemSingle
measuringMode
Type: Microsoft.Graphics.Canvas.TextCanvasTextMeasuringMode
renderingParameters
Type: Microsoft.Graphics.Canvas.TextCanvasTextRenderingParameters

Return Value

Type: CanvasTextRenderingMode
See Also