InvertAxes Enumeration

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

Member nameDescription
Both

Drawing surface is inverted in both axes.

Horizontal

Drawing surface is inverted in the horizontal axis.

None

Drawing surface is not inverted in either axis.

Vertical

Drawing surface is inverted in the vertical axis.

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
Available since 3.0
Return to top
Show:
© 2016 Microsoft