Click or drag to resize

GraphControllerConvertGraphCoordinateToScrollbarValue Method

Converts a graph coordinate to scrollbar values. See the remarks in ConvertScrollbarValueToGraphCoordinate(PointD2D) to learn how the scroll bar parameters are set.

Namespace: Altaxo.Gui.Graph.Gdi.Viewing
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public PointD2D ConvertGraphCoordinateToScrollbarValue(
	PointD2D graphCoordinate
)

Parameters

graphCoordinate  PointD2D
The graph coordinate that corresponds to the upper left corner of the view port window.

Return Value

PointD2D
The scroll bar values that should be set.
See Also