NativeExcel suite v2.x

WidthInPixels property

Returns the width of the specified range, measured in pixels. Read only Integer.

Syntax

property WidthInPixels: integer;

Example

This code returns the width in pixels for the range A1:F10 on sheet one.
width := Workbook.Sheets[1].Range['A1','F10'].WidthInPixels;
Copyright © NikaSoft 2004-2012