BenSelect Documentation
SetColFormat Method
See Also  Send Feedback
ETI.Report Namespace > ExcelHelper Class : SetColFormat Method
col
Column to set.
newFormat
The new format.
resetColumn
When true, all existing cells on the column will be reset to this format. This is the standard Excel behavior and the recommended option. If you don't care about existing cells, you can speed up this method by setting it to false.
Sets the format for an entire column.

Syntax

JScript 
public function SetColFormat( 
   col : int,
   newFormat : FlexCel.Core.TFlxFormat,
   resetColumn : boolean
);

Parameters

col
Column to set.
newFormat
The new format.
resetColumn
When true, all existing cells on the column will be reset to this format. This is the standard Excel behavior and the recommended option. If you don't care about existing cells, you can speed up this method by setting it to false.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2024 All Rights Reserved.