How do I disable anti aliasing on a layer?

Anti aliasing is on by default. To disable it, set the Layer.SmoothingMode property.

myLayer.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;

Last edited Aug 31, 2012 at 1:18 PM by FObermaier, version 4