MapSuiteGisEditor/WpfDesktopExtension/Shares/MapEngine.cs
/// <summary>
/// This API gets the BoundingBox of a group of BaseShapes.
/// </summary>
/// <param name="shapes">The target group of BaseShapes to get the BoundingBox for.</param>
/// <returns>The BoundingBox that contains all the shapes you passed in.</returns>
This API gets the BoundingBox of a group of BaseShapes.
This API gets the BoundingBox of a group of BaseShapes .
public static RectangleShape GetBoundingBoxOfItems(IEnumerable<BaseShape> shapes)
        {
            ValidatorHelper.CheckObjectIsNotNull(shapes, "shapes");
            return ExtentHelper.GetBoundingBoxOfItems(shapes);
        }
public static RectangleShape GetBoundingBoxOfItems ( IEnumerable < BaseShape > shapes ) { ValidatorHelper . CheckObjectIsNotNull ( shapes , " " ) ; return ExtentHelper . GetBoundingBoxOfItems ( shapes ) ; }
This API gets the BoundingBox of a group of BaseShapes.
This API gets the BoundingBox of a group of BaseShapes .
The BoundingBox that contains all the shapes you passed in.
The BoundingBox that contains all the shapes you passed in .
shapes
IEnumerable<BaseShape>
The target group of BaseShapes to get the BoundingBox for.
The target group of BaseShapes to get the BoundingBox for .