←Select platform

Contains(float,float,AnnUnit) Method

Summary

Determines if the specified point with the specified unit of measure is contained within this AnnRectangle structure.

Syntax

C#
VB
C++
public bool Contains( 
   float x, 
   float y, 
   AnnUnit unit 
) 
  
Public Overloads Function Contains( _ 
   ByVal x As Single, _ 
   ByVal y As Single, _ 
   ByVal unit As Leadtools.Annotations.AnnUnit _ 
) As Boolean 
public: 
bool Contains(  
   float x, 
   float y, 
   Leadtools.Annotations.AnnUnit unit 
)  

Parameters

x
The x-coordinate of the point to test.

y
The y-coordinate of the point to test.

unit
The unit of measure for the specified coordinates.

Return Value

This method returns true if the point defined by x and y is contained within this AnnRectangle structure; otherwise false.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly