GetColumnWidthInPixel Method

Summary

Retrieves the width of a specified column within the sheet.

Syntax

TypeScript
JavaScript
Sheet.prototype.getColumnWidthInPixel = function( 
   columnIndex 
) 
getColumnWidthInPixel( 
   columnIndex: number 
): number; 

Parameters

columnIndex

A zero-based index of the column whose width is to be retrieved.

Return Value

The width of the specified column in pixels.

Remarks

The ability to obtain column widths in pixel units is essential for tasks that require precise control over sheet layout and presentation. Pixel measurements provide a consistent unit of measure across different display environments, supporting accurate layout decisions.

Requirements

Target Platforms

See Also

Sheet Class

Sheet 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.