Click or drag to resize

ScreenInfoGetNextPointWithinActualScreenCoordinates(Point, Double, Double) Method

Returns the transferred point, but changes it if necessary, its coordinates in such a way that the point, including the margin, is on every case is within the coordinates of the current screen.

Namespace: NetEti.MultiScreen
Assembly: NetEti.MultiScreen (in NetEti.MultiScreen.dll) Version: 1.0.0+6dae38196d8eac9695b29c123b220fb2bfe07211
Syntax
public Point GetNextPointWithinActualScreenCoordinates(
	
	Point point,
	
	double horizontalMargin,
	
	double verticalMargin
)

Parameters

point  Point
Point that may not be within the current screen.
horizontalMargin  Double
Minimum horizontal distance to the edges of the screen.
verticalMargin  Double
Minimum vertical distance to the edges of the screen.

Return value

Point
Point which, including the margin, is always within the current screen.
See also