Forums     Knowledge Base     OfficeWriter Online     
 
This documentation is for
OfficeWriter v3.0.4
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > ExcelApplication API > ColumnProperties > Style

Style Property


C# Signature:

VB.NET Signature:


Description:

Sets or returns a Style object that determines how cells in the column look, including number format, font, orientation, etc.

When a style is set on a column - rather than applied (see ApplyStyle) - all properties of the style take effect on the cells in that column. The style passed in as a parameter is cloned and the new copy is "owned" by the column.

Style is a read / write property.



Examples:

[csharp]
Style styl = colProps.Style;
[vbnet]
Dim styl As Style = colProps.Style


Getter

Signature:

public Style Style

Returns:

Style The Style object assigned to this column.

Setter

Signature:

public void Style Style style

Type:

Style



Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.