Edit

Share via


Ruler2 Interface

Definition

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.

public interface class Ruler2 : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C03C1-0000-0000-C000-000000000046")]
public interface Ruler2 : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C03C1-0000-0000-C000-000000000046")>]
type Ruler2 = interface
    interface _IMsoDispObj
Public Interface Ruler2
Implements _IMsoDispObj
Attributes
Implements

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.

Properties

Application

Gets an Application object that represents the container application for the Ruler2 object. Read-only.

Creator

Gets a 32-bit integer that indicates the application in which the Ruler2 object was created. Read-only.

Levels

Gets a RulerLevels2 object that represents outline text formatting. Read-only.

Parent

Gets the parent object for the Ruler2 object. Read-only.

TabStops

Gets a TabStops2 collection that represents the tab stops for the specified text. Read-only.

Applies to