Method GetRowTopPixels
- Namespace
- DocWright.Spreadsheet.Rendering
- Assembly
- DocWright.Spreadsheet.Rendering.dll
GetRowTopPixels(int)
Gets the distance of a row's top edge from the top edge of row 1, in screen pixels.
public long GetRowTopPixels(int row)
Parameters
rowintThe one-based row, 1 to 1,048,577: one past the last row is the bottom edge of the sheet.
Returns
- long
The distance in pixels of 1/96 inch.
Exceptions
- ArgumentOutOfRangeException
The row is outside 1 to 1,048,577.