編輯

共用方式為


ListLevel Interface

Definition

Represents a single list level, either the only level for a bulleted or numbered list or one of the nine levels of an outline numbered list.

public interface class ListLevel
[System.Runtime.InteropServices.Guid("0002098D-0000-0000-C000-000000000046")]
public interface ListLevel
type ListLevel = interface
Public Interface ListLevel
Attributes

Remarks

The ListLevel object is a member of the ListLevels collection.

Use ListLevels(index), where index is a number from 1 through 9, to return a single ListLevel object.

The ListLevel object gives you access to all the formatting properties for the specified list level, such as the Alignment, Font, NumberFormat, NumberPosition, NumberStyle, and TrailingCharacter properties.

To apply a list level, first identify the range or list, and then use the ApplyListTemplate(ListTemplate, Object, Object) method. Each tab at the beginning of the paragraph is translated into a list level. For example, a paragraph that begins with three tabs will become a level-three list paragraph after the ApplyListTemplate method is used.

Properties

Alignment

Returns or sets a WdListLevelAlignment constant that represents the alignment for the list level of the list template.

Application

Returns a Application object that represents the Microsoft Word application.

Creator

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

Font

Returns or sets a Font object that represents the character formatting of the specified object.

Index

Returns an Integer that represents the position of an item in a collection.

LinkedStyle

Returns or sets the name of the style that's linked to the specified ListLevel object.

NumberFormat

Returns or sets the number format for the specified list level.

NumberPosition

Returns or sets the position (in points) of the number or bullet for the specified ListLevel object.

NumberStyle

Returns or sets the number style for the ListLevel object.

Parent

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

PictureBullet

Returns a InlineShape object that represents a picture bullet.

ResetOnHigher

Sets or returns the list level that must appear before the specified list level restarts numbering at 1. False if the numbering continues sequentially each time the list level appears.

ResetOnHigherOld

Reserved for internal use.

StartAt

Returns or sets the starting number for the specified ListLevel object.

TabPosition

Returns or sets the tab position for the specified ListLevel object.

TextPosition

Returns or sets the position (in points) for the second line of wrapping text for the specified ListLevel object.

TrailingCharacter

Returns or sets the character inserted after the number for the specified list level.

Methods

ApplyPictureBullet(String)

Formats a paragraph or range of paragraphs with a picture bullet.

Applies to