Partager via


Rows Members (Word)

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

Methods

Name

Description

Add

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

ConvertToText

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

Delete

Deletes the specified table rows.

DistributeHeight

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

Item

Returns an individual Row object in a collection.

Select

Selects a collection of rows in a table.

SetHeight

Sets the height of table rows.

SetLeftIndent

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

Properties

Name

Description

Alignment

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

AllowBreakAcrossPages

True if the text in a table row or rows are allowed to split across a page break. Read/write Long.

AllowOverlap

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

Application

Returns an Application object that represents the Microsoft Word application.

Borders

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

Count

Returns a Long that represents the number of rows in the collection. Read-only.

Creator

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

DistanceBottom

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

DistanceLeft

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

DistanceRight

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

DistanceTop

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

First

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

HeadingFormat

True if the specified row or rows are formatted as a table heading. Read/write Long.

Height

Returns or sets the height of the specified rows in a table. Read/write Single.

HeightRule

Returns or sets the rule for determining the height of the specified cells or rows. Read/write WdRowHeightRule.

HorizontalPosition

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

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. Read/write.

NestingLevel

Returns the nesting level of the specified table rows. Read-only Long.

Parent

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

RelativeHorizontalPosition

Specifies the relative horizontal position of a group of rows. Read/write WdRelativeHorizontalPosition.

RelativeVerticalPosition

Specifies the relative vertical position of a group of rows. Read/write WdRelativeVerticalPosition.

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. Read/write Single.

TableDirection

Returns or sets the direction in which Microsoft Word orders cells in the specified table or row. Read/write WdTableDirection.

VerticalPosition

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

WrapAroundText

Returns or sets whether text should wrap around the specified rows. Read/write Long.