Modifica

Condividi tramite


HeadingStyles Interface

Definition

A collection of HeadingStyle objects that represent the styles used to compile a table of figures or table of contents.

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

Remarks

Use the HeadingStyles property of the TablesOfContents or TablesOfFigures object to return the HeadingStyles collection.

Use the Add(Object, Int16) method to add a style to the HeadingStyles collection.

Use HeadingStyles(index), where index is the index number, to return a single HeadingStyle object. The index number represents the position of the style in the HeadingStyles collection.

Properties

Application

Returns an 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[Int32]

Returns an individual object in a collection.

Parent

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

Methods

Add(Object, Int16)

Returns a HeadingStyle object that represents a new heading style added to a document. The new heading style will be included whenever you compile a table of contents or table of figures.

GetEnumerator()

Applies to