Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxMapControlGeoRect.IsValid Method

Checks whether the record’s TopLeft and BottomRight field values define the correct geographical rectangle.

#Declaration

Delphi
function IsValid: Boolean;

#Returns

Type
Boolean

#Remarks

This function returns True indicating that the rectangle is correctly defined, if the following conditions are met:

  • The IsValid function called for both the top-left and bottom-right corner points of the geographical rectangle returns True;

  • The top-left corner point’s Latitude field value is greater than the bottom-right corner point’s Latitude field value;

  • The top-left corner point’s Longitude field value is less than the bottom-right corner point’s Longitude field value.

See Also