Click or drag to resize

MouseToolConfineToImage Method (Rect)

Returns a Rect that is confined to the image.

Namespace:  Atalasoft.Imaging.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
protected Rect ConfineToImage(
	Rect imageRect
)

Parameters

imageRect
Type: System.WindowsRect
The Rect to confine.

Return Value

Type: Rect
The confined Rect.
Remarks
If no image is currently loaded, this method will return a new Rect.
See Also