Click or drag to resize

WpfAnnotationGripsCalculateGripPercentages Method

Calculates percentage values for the grips to fit within the specified bounds.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected Point[] CalculateGripPercentages(
	Rect bounds
)

Parameters

bounds
Type: System.WindowsRect
The bounds for the grips.

Return Value

Type: Point
An array of Point, one for each grip, indicating their percentage values.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the bounds contains a zero width or height.
See Also