Row Interface
Represents a row in a table. The Row object is a member of the Rows collection. The Rows collection includes all the rows in the specified table.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
<GuidAttribute("914934C7-5A91-11CF-8700-00AA0060263B")> _
Public Interface Row
'Usage
Dim instance As Row
[GuidAttribute("914934C7-5A91-11CF-8700-00AA0060263B")]
public interface Row
Examples
Use Rows(index), where index is a number that represents the position of the row in the table, to return a single Row object. This example deletes the first row from the table in shape five on slide two of the active presentation.
ActivePresentation.Slides(2).Shapes(5).Table.Rows(1).Delete
Use the Select() method to select a row in a table. This example selects row one of the specified table.
ActivePresentation.Slides(2).Shapes(5).Table.Rows(1).Select
Use the Cells property to modify the individual cells in a Row object. This example selects the second row in the table and applies a dashed line style to the bottom border.
ActiveWindow.Selection.ShapeRange.Table.Rows(2) _
.Cells.Borders(ppBorderBottom).DashStyle = msoLineDash