編輯

共用方式為


TabStops Interface

Definition

A collection of TabStop objects that represent the custom and default tabs for a paragraph or group of paragraphs.

public interface class TabStops : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020955-0000-0000-C000-000000000046")]
public interface TabStops : System.Collections.IEnumerable
type TabStops = interface
    interface IEnumerable
Public Interface TabStops
Implements IEnumerable
Attributes
Implements

Remarks

Use the TabStops property to return the TabStops collection.

Use the Add(Single, Object, Object) method to add a tab stop.

You can also add a tab stop by specifying a location with the TabStops property.

Use TabStops(index), where index is the location of the tab stop (in points) or the index number, to return a single TabStop object. Tab stops are indexed numerically from left to right along the ruler.

When working with the Paragraphs collection (or a range with several paragraphs), you must modify each paragraph in the collection individually if the tab stops aren't identical in all the paragraphs.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Count

Returns the number of items in the specified collection.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Item[Object]

Returns an individual object in a collection.

Parent

Returns an object that represents the parent object of the specified object.

Methods

Add(Single, Object, Object)

Returns a TabStop object that represents a custom tab stop added to a document.

After(Single)

Returns the next TabStop object to the right of Position.

Before(Single)

Returns the next TabStop object to the left of Position.

ClearAll()

Clears all the custom tab stops from the specified paragraphs.

GetEnumerator()

Applies to