hitTestContainer Method

Summary

Gets the container under the specified location.

Syntax

JavaScript Syntax
AnnAutomation.prototype.hitTestContainer = function(location, includeObjects) 
TypeScript Syntax
hitTestContainer(location: LeadPointD, includeObjects: boolean): AnnContainer; 

Parameters

location

The location that is being tested.

includeObjects

true if objects that belong to the container but might lay outside the

container boundaries are to be included in the hit-testing; otherwise, false and only the container boundary is used in the hit-testing.

Return Value

The first container found under the specified location or null if no containers satisfies the hit-testing location.

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.Automation Assembly