MouseTool.ConfineToRenderedImage Method |
Returns a rectangle confined to the rendered size of 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)
Syntaxprotected Rect ConfineToRenderedImage(
Rect imageRect
)
Protected Function ConfineToRenderedImage (
imageRect As Rect
) As Rect
Parameters
- imageRect
- Type: System.Windows.Rect
The rectangle to constrain.
Return Value
Type:
Rect The constrained rectangle.
See Also