Persits Software, Inc. Web Site
 Navigator:  Home |  Object Reference |  PdfTable
PdfSignature
  PdfTable Object
PdfTable represents a table. An instance of the PdfTable object is creatable via PdfDocument's CreateTable method. For more information about tables, see Chapter 7 - Tables.

Properties Methods
At
Border
ColNum
Font
Height
RowNum
Rows
this []
Width
SetColor

Properties


PdfCell At( int Row, int Column ) (Read-only)

Returns a PdfCell object representing a table cell specified by its Row and Column. This property is obsolete, use this [] instead.

float Border (Read/Write)

Returns or specifies the table's outer border. By default, the value is 0 which means the table has no outer border.

int ColNum (Read-only)

Returns the number of columns in the table.

PdfFont Font (Read/Write)

Specifies the current default font for this table to be used when the PdfCell.AddText method is called without a Font argument.

float Height (Read-only)

Returns the table height.

int RowNum (Read-only)

Returns the number of rows in the table.

PdfRows Rows (Read-only)

Returns the PdfRows collection of PdfRow objects representing the table's individual rows.

PdfCell this[ int Row, int Column ] (Read-only)

Returns a PdfCell object representing a table cell specified by its Row and Column.

float Width (Read-only)

Returns the table width.

Methods
void SetColor (object Param)
Specifies a border or background color for this table in a color space other than RGB. Param is a PdfParam object or parameter string specifying various color parameters, including:
  • Type (required) - specifies which color is to be modified. The valid values are: 1 (border color), 2 (cell border color), 3 (background color) and 4 (cell background color).
  • ColorSpace (required) - specifies the color space index. This value should be obtained from the Index property of the PdfColorSpace object.
  • c1, c2, ..., cN (required) - specify the individual color components for the color. These values must be in the range [0, 1] and the number of color components must match the color space being used.

This method was introduced in Version 2.7.

For more information, see Section 16.4 - Using Color Spaces with PdfTable and Other Objects.


PdfSignature
Search AspPDF.net

Newsletter Signup

Other Products
AspPDF
AspUpload
AspJpeg
AspEmail
AspEncrypt
AspGrid
AspUser
  This site is owned and maintained by Persits Software, Inc. Copyright © 2003 - 2014. All Rights Reserved.