Text objects are always displayed by using anti aliasing, and are not affected by setting the edge mode value. The default value for non-text drawing primitives, such as T:System.Windows.Shapes.Ellipse and T:System.Windows.Shapes.Polygon, is F:System.Windows.Media.EdgeMode.Unspecified.

When you set the edge mode value of a visual object, all the child drawing primitives of that visual object are set to the same T:System.Windows.Media.EdgeMode value.

The following example shows how to use the M:System.Windows.Media.RenderOptions.SetEdgeMode(System.Windows.DependencyObject,System.Windows.Media.EdgeMode) method to set the edge mode for a drawing primitive to F:System.Windows.Media.EdgeMode.Aliased.