Click or drag to resize
CanvasTextRenderingParameters Class
Represents text-drawing parameters which may be applied to a CanvasDrawingSession.
Inheritance Hierarchy
SystemObject
  Microsoft.Graphics.Canvas.TextCanvasTextRenderingParameters

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public sealed class CanvasTextRenderingParameters

The CanvasTextRenderingParameters type exposes the following members.

Constructors
  NameDescription
Public methodCanvasTextRenderingParameters
Initializes a new instance of the CanvasTextRenderingParameters class.
Top
Properties
  NameDescription
Public propertyGridFit
Gets the gridfitting option which may be applied to text.
Public propertyRenderingMode
Gets the rendering mode option which may be applied to text.
Top
Remarks

When using Direct2D interop, this Win2D class corresponds to the DirectWrite interface IDWriteRenderingParams2 on Windows 8.1, and IDWriteRenderingParams3 on Windows 10.

See Also