HotXLS Docs

WidthInPixels property

Returns the approximate rendered width of the specified range in pixels. Read only Integer.

Syntax

property WidthInPixels: Integer;

Example

This example reads the pixel width of column A on sheet one.

Pixels := Workbook.Sheets[1].Range['A1', 'A1'].WidthInPixels;