Table of Contents

Method GetColumnAt

Namespace
DocWright.Spreadsheet.Rendering
Assembly
DocWright.Spreadsheet.Rendering.dll

GetColumnAt(Twips)

Gets the column a horizontal position falls in.

public int GetColumnAt(Twips x)

Parameters

x Twips

The distance from the left edge of column A.

Returns

int

The one-based column: the first for a position left of the sheet, the last for one right of it. Never a hidden column unless every column from there on is hidden.