←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 21.0.2021.3.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly