TextFrame.Ruler Property
Returns a Ruler object that represents the ruler for the specified text. Read-only.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
ReadOnly Property Ruler As Ruler
Get
'Usage
Dim instance As TextFrame
Dim value As Ruler
value = instance.Ruler
Ruler Ruler { get; }
Property Value
Type: Microsoft.Office.Interop.PowerPoint.Ruler
Ruler
Examples
This example sets a left-aligned tab stop at 2 inches (144 points) for the text in shape two on myDocument.
Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes(2).TextFrame.Ruler.TabStops _
.Add ppTabStopLeft, 144