←Select platform

GetCenterPoint(LeadRect) Method

Summary

Gets the center (origin) point of a rectangle.

Syntax
C#
VB
C++
public static LeadPoint GetCenterPoint( 
   LeadRect rect 
) 
Public Shared Function GetCenterPoint( 
   ByVal rect As LeadRect 
) As LeadPoint 
public:  
   static LeadPoint^ GetCenterPoint( 
      LeadRect^ rect 
   ) 

Parameters

rect

The source rectangle.

Return Value

The center (origin) point of the rectangle.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly