UtilDrawingPointRectangleToCenterOfControl Method
Points the specified Rectangle to the center of a Control.
Namespace: DevCase.Core.Media.GraphicsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Point PointRectangleToCenterOfControl(
Rectangle rc,
Control ctrl
)
Public Shared Function PointRectangleToCenterOfControl (
rc As Rectangle,
ctrl As Control
) As Point
Dim rc As Rectangle
Dim ctrl As Control
Dim returnValue As Point
returnValue = UtilDrawing.PointRectangleToCenterOfControl(rc,
ctrl)
public:
static Point PointRectangleToCenterOfControl(
Rectangle rc,
Control^ ctrl
)
static member PointRectangleToCenterOfControl :
rc : Rectangle *
ctrl : Control -> Point
No code example is currently available or this language may not be supported.
- rc Rectangle
-
The source Rectangle.
- ctrl Control
-
The target Control.
Point
The resulting coordinates.