This documentation is archived and is not being maintained.

InvertAxes Enumeration

Indicate the inversion of horizontal and vertical axes of the drawing surface.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Windows.Media.TextFormatting
Assembly:  PresentationCore (in PresentationCore.dll)

public enum InvertAxes
<object property="enumerationMemberName" .../>

Member nameDescription
NoneDrawing surface is not inverted in either axis.
HorizontalDrawing surface is inverted in the horizontal axis.
VerticalDrawing surface is inverted in the vertical axis.
BothDrawing surface is inverted in both axes.

Text formatter clients usually invert the horizontal axis, or X-axis, of the drawing surface when performing right-to-left layout of text content.

In a less common case, a text formatter client may invert the vertical axis, or Y-axis, of the drawing surface to achieve the effect of having the coordinate origin at the bottom-left position of the screen. This is a useful technique when drawing certain types of graphs.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0