Make sure the control stays within the limits of the image it is
"living" on.
Namespace: Stemmer.Cvb.Wpf.Adorners
Assembly: Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax
protected virtual void ApplyCoordinateRestrictions( ref double left, ref double top, ref double right, ref double bottom, bool ignoreSize )
Parameters
- left
- Type: SystemDouble
Coordinate of the left edge. May be modified by the function call if needed. - top
- Type: SystemDouble
Coordinate of the top edge. May be modified by the function call if needed. - right
- Type: SystemDouble
Coordinate of the right edge. May be modified by the function call if needed. - bottom
- Type: SystemDouble
Coordinate of the bottom edge. May be modified by the function call if needed. - ignoreSize
- Type: SystemBoolean
When set to true, the width and height of the overlay will be ignored.
See Also