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)

[FlagsAttribute]
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.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: