Click or drag to resize
CanvasTextGridFit Enumeration
Specifies whether to enable gridfitting behavior for glyphs.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public enum CanvasTextGridFit
Members
  Member nameValueDescription
Default0Gridfitting is enabled or disabled based on font table information for the text being drawn.
Disable1Gridfitting is always disabled.
Enable2Gridfitting is always enabled.
Remarks

This is also sometimes called "pixel-snapping" or "hinting".

See Also