GeographicalSchema.CheckByLocation

Syntax:

CheckByLocation(<Object>, <WhereToCheck>, <HowToCheck>)

Parameters:

<Object> (required)

Type: GeographicalSchemaObjectPoint; GeographicalSchemaObjectMultiPoint; GeographicalSchemaObjectPolyline; GeographicalSchemaObjectPolygon.
Search object.

<WhereToCheck> (required)

Type: Array.
Array can contain objects of the following types: GeographicalSchemaObjectPoint, GeographicalSchemaObjectMultiPoint, GeographicalSchemaObjectPolyline, GeographicalSchemaObjectPolygon, GeographicCoordinates, GeographicalSchemaRectangle.

<HowToCheck> (required)

Type: GeographicalSchemaObjectFindType.
Defines the method for searching for a geographical schema object.

Returned value:

Type: Boolean.
Checks whether the specified objects are placed in location of some other objects.
True if this object is overlaid with another one, False otherwise.

Description:

Checks, whether the specified objects in a site of others get.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community