Skip to content

IGraphicsContext.TextPixelSnap property

Gets or sets whether text rendering snaps glyph positions to device pixels. When true (default), text is pixel-snapped for sharpness. Set to false during animations/transitions to avoid visible jumping. The value is saved and restored by Save / Restore.

public bool TextPixelSnap { get; set; }