PdfRow Object

Overview

PdfRow represents an individual row in a PdfTable object. A PdfRow object is obtainable via PdfTables's Rows collection. For more information about tables, see Chapter 7 - Tables.

Member List

Properties


BgColor As Variant (Write-only)

Specifies the background color for all cells in this row. Transparent by default. This property accepts either a hexadecimal number such as &HFF0000, or a string with a color name such as "red",

This property is write-only because it may not always be possible to retrieve a single color property for all cells in a row (in case not all colors are the same).


BorderColor As Variant (Write-only)

Specifies the background color for all cells in this row. Black by default. This property accepts either a hexadecimal number such as &HFF0000, or a string with a color name such as "red",

This property is write-only because it may not always be possible to retrieve a single color property for all cells in a row (in case not all colors are the same).


Cells As PdfCells (Read-only)
Returns the PdfCells collection of PdfCell objects representing all cells in this row.

Fixed As Boolean (Read/Write)
This property is reserved for future use and currently not supported.

Height As Single (Read/Write)
Returns or specifies this row's height. Setting this property affects the heights of all cells in this row, as well as the overall table height.

Index As Long (Read-only)
Returns this row's 1-based index in the Table.Rows collection. Rows are numbered downwards, the topmost row being row #1.

X As Single (Read-only)
Returns the X coordinate of this row's upper-left corner.

Y As Single (Read-only)
Returns the Y coordinate of this row's upper-left corner. This property is 0 for Row 1 and negative for all other rows.

Methods


Sub MoveDown(Rows As Long)
Moves this row down the table by Rows. This method affects this row's Index property.

Sub MoveUp(Rows As Long)
Moves this row up the table by Rows. This method affects this row's Index property.