Ruler2 Interface

Represents the ruler for the text in the specified shape or for all text in the specified text style. Contains tab stops and the indentation settings for text outline levels.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
<GuidAttribute("000C03C1-0000-0000-C000-000000000046")> _
Public Interface Ruler2 _
    Inherits _IMsoDispObj
'Usage
Dim instance As Ruler2
[GuidAttribute("000C03C1-0000-0000-C000-000000000046")]
public interface Ruler2 : _IMsoDispObj

Remarks

Use the Ruler property of the TextFrame2 object to return the Ruler2 object that represents the ruler for the text in the specified shape. Use the TabStops property to return the TabStops2 object that contains the tab stops on the ruler. Use the Levels property to return the RulerLevels2 object that contains the indentation settings for text outline levels.

See Also

Reference

Ruler2 Members

Microsoft.Office.Core Namespace