ZennoLab Assemblies Documentation
GetCellStyle Method
Example 

Type: System.Int32

The cell's column, zero-based index.

Type: System.Int32

The cell's row, zero-based index.

Get excel cell style.
Syntax
ZennoTableStyle GetCellStyle( 
   int column,
   int row
)

Parameters

column

Type: System.Int32

The cell's column, zero-based index.

row

Type: System.Int32

The cell's row, zero-based index.

Return Value

Example
The following code using IZennoTable Interface for setting cell style.
// get table by name "MyTable"
var table = project.Tables["MyTable"];
var style = table.GetCellStyle(0,0);
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
$style = $table->GetCellStyle(0, 0);
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IZennoTable Interface
IZennoTable Members
GetRowStyle Method
GetColumnStyle Method

Send Feedback