←Select platform

GetCellBorder Method

Summary

Retrieves the border style of a specific side of a cell within a sheet. Useful to access the styling details of cell borders, such as thickness and color.

Syntax

C#
C++/CLI
Python
public CellBorder GetCellBorder( 
   BorderType borderType 
) 
public:  
   CellBorder^ GetCellBorder( 
      BorderType^ borderType 
   ) 
def GetCellBorder(self,borderType): 

Parameters

borderType

An enumeration value specifying the side of the cell's border to retrieve the style for.

Return Value

A CellBorder object representing the styling of the specified border side of the cell. This includes details about the border's color, thickness, and pattern.

Requirements

Target Platforms

See Also

CellStyle Class

CellStyle Members

Leadtools.Document.LEADOffice.Sheet Namespace

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

Leadtools.Document.LEADOffice Assembly

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