GeographicalSchemaShowedArea

Properties:

EastBorderLongitude
NorthBorderLatitude
SouthBorderLatitude
WestBorderLongitude

Description:

Used to access the area borders displayed in zoom mode SpecifiedArea.

Availability:

Thick client.

Example:

// Receive boundary box for an object
BoundaryBox = Object.BoundaryBox;

ShowedArea = 
    Controls.GeographicalSchemeField.ShowedArea;

// Set new boundary box borders for a schema
ShowedArea.EastBorderLongitude = 
    BoundaryBox.EastBorderLongitude;
ShowedArea.WestBorderLongitude = 
    BoundaryBox.WestBorderLongitude;
ShowedArea.NorthBorderLatitude = 
    BoundaryBox.NorthBorderLatitude;
ShowedArea.SouthBorderLatitude = 
    BoundaryBox.SouthBorderLatitude;

// Set new scaling mode
Scheme.ScaleKeeping = 
    GeographicalSchemeShowMode.SpecifiedArea

See also:

GeographicalSchemaShowMode, property SpecifiedArea
GeographicalSchemaField, property ShowedArea

    

1C:Enterprise Developer's Community