These constants are defined to specify a ruler’s orientation and are used by orientation and setOrientation:.
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public enum NSRulerOrientation
Public Enumeration NSRulerOrientation
public enum class NSRulerOrientation

Member | Description |
---|---|
NSHorizontalRuler | Ruler is oriented horizontally. Available in Mac OS X v10.0 and later. |
NSVerticalRuler | Ruler is oriented vertically. Available in Mac OS X v10.0 and later. |

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)