Click or drag to resize

AreaRetrievalGetFirstVisibleColumnForLastVisibleColumn Method

Gets the first visible column required to show a given last visible column.

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

Parameters

nForLastCol  Int32
The column number that should become the last visible column.
layout  WorksheetLayout
The worksheet layout.
HorzScrollPos  Int32
The horizontal scroll position.
TableAreaWidth  Double
The width of the visible table area.

Return Value

Int32
The number of the first visible column.
See Also