Modifica

Condividi tramite


Rows Interface

Definition

A collection of Row objects that represent the table rows in the specified selection, range, or table.

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

Remarks

Use the Rows property to return the Rows collection.

Use the Add(Object) method to add a row to a table.

Use Rows(index), where index is the index number, to return a single Row object. The index number represents the position of the row in the selection, range, or table.

Properties

Alignment

Returns or sets a WdRowAlignment constant that represents the alignment for the specified rows.

AllowBreakAcrossPages

Determine if the text in a table row or rows is allowed to split across a page break.

AllowOverlap

Returns or sets a value that specifies whether the specified rows can overlap other rows.

Application

Returns a Application object that represents the Microsoft Word application.

Borders

Returns a Borders collection that represents all the borders for the specified object.

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.

DistanceBottom

Returns or sets the distance (in points) between the document text and the bottom edge of the specified table.

DistanceLeft

Returns or sets the distance (in points) between the document text and the left edge of the specified table.

DistanceRight

Returns or sets the distance (in points) between the document text and the right edge of the specified table.

DistanceTop

Returns or sets the distance (in points) between the document text and the top edge of the specified table.

First

Returns a Row object that represents the first item in the Rows collection.

HeadingFormat

Determine if the specified row or rows are formatted as a table heading.

Height

Returns or sets the height of the specified row or rows in a table.

HeightRule

Returns or sets the rule for determining the height of the specified rows.

HorizontalPosition

Returns or sets the horizontal distance between the edge of the rows and the item specified by the RelativeHorizontalPosition property.

Item[Int32]

Returns an individual object in a collection.

Last

Returns the last item in the Rows collection as a Row object.

LeftIndent

Returns or sets a Single that represents the left indent value (in points) for the specified table rows.

NestingLevel

Returns the nesting level of the specified rows.

Parent

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

RelativeHorizontalPosition

Specifies to what the horizontal position of a group of rows is relative.

RelativeVerticalPosition

Specifies to what the vertical position of a group of rows is relative.

Shading

Returns a Shading object that refers to the shading formatting for the specified object.

SpaceBetweenColumns

Returns or sets the distance (in points) between text in adjacent columns of the specified row or rows.

TableDirection

Returns or sets the direction in which Microsoft Word orders cells in the specified table or row.

VerticalPosition

Returns or sets the vertical distance between the edge of the rows and the item specified by the RelativeVerticalPosition property.

WrapAroundText

Determines whether text should wrap around the specified rows.

Methods

Add(Object)

Returns a Row object that represents a row added to a table.

ConvertToText(Object, Object)

Converts a table to text and returns a Range object that represents the delimited text.

ConvertToTextOld(Object)

Reserved for internal use.

Delete()

Deletes the specified object.

DistributeHeight()

Adjusts the height of the specified rows so that they're equal.

GetEnumerator()
Select()

Selects the specified object.

SetHeight(Single, WdRowHeightRule)

Sets the height of table rows.

SetLeftIndent(Single, WdRulerStyle)

Sets the indentation for a row or rows in a table.

Applies to