SetCellBorder Method

Summary

Sets the cell border style to a specified border with a customized type.

Syntax

TypeScript
JavaScript
CellStyle.prototype.setCellBorder = function( 
   borderType, 
   border 
) 
setCellBorder( 
   borderType: BorderType, 
   border: CellBorder 
): void; 

Parameters

borderType

The BorderType enumeration value specifying which border of the cell to modify.

border

An instance of the CellBorder class that defines the style of the border. This parameter allows for detailed customization of the border's appearance.

Remarks

This method provides a way to individually customize the borders of a cell. This is useful for highlighting certain cells, creating visually distinct sections within a table, or simply for aesthetic customization. The method uses the BorderType enumeration to specify which border to modify, and the CellBorder class to define the new border's characteristics.

Requirements

Target Platforms

See Also

CellStyle Class

CellStyle Members

Leadtools.Document.SheetEditor Namespace

Help Version 23.0.2024.5.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.SheetEditor Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.