Table of Contents

Method GetRowAtPixel

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

GetRowAtPixel(long)

Gets the row a vertical position in screen pixels falls in.

public int GetRowAtPixel(long y)

Parameters

y long

The distance from the top edge of row 1, in pixels of 1/96 inch.

Returns

int

The one-based row: the first for a position above the sheet, the last for one below it.