function Leadtools.Annotations.Automation.AnnAutomation.hitTestContainer( location , includeObjects )
| Parameter | Type | Description |
|---|---|---|
| location | LeadPointD | The location that is being tested. |
| includeObjects | bool | 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. |
| Type | Description |
|---|---|
| AnnContainer | The first container found under the specified location or null if no containers satisfies the hit-testing location. |