Click or drag to resize

AreaRetrievalGetFirstVisibleColumnForLastVisibleColumn Method

retrieves, to which column should be scrolled in order to make the column nForLastCol the last visible column

Namespace: Altaxo.Worksheet
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static int GetFirstVisibleColumnForLastVisibleColumn(
	int nForLastCol,
	WorksheetLayout layout,
	int HorzScrollPos,
	double TableAreaWidth
)

Parameters

nForLastCol  Int32
the column number which should be the last visible column
layout  WorksheetLayout
Worksheet layout referring to.
HorzScrollPos  Int32
Value of the horizontal scroll bar.
TableAreaWidth  Double
Width of the table area shown.

Return Value

Int32
the number of the first visible column
See Also