MapSuiteGisEditor/WpfDesktopExtension/Shares/MapEngine.cs
/// <summary>
/// This method returns a new extent that is zoomed in by the percentage
/// provided.
/// </summary>
/// <returns>
/// This method returns a new extent that is zoomed in by the percentage
/// provided.
/// </returns>
/// <remarks>None</remarks>
/// <param name="worldExtent">This parameter is the world extent you want to zoom.</param>
/// <param name="percentage">This parameter is the percentage by which you want to zoom in.</param>
This method returns a new extent that is zoomed in by the percentage
provided.
This method returns a new extent that is zoomed in by the percentage provided .
public static RectangleShape ZoomIn(RectangleShape worldExtent, int percentage)
        {
            ValidatorHelper.CheckExtentIsValid(worldExtent, "worldExtent");
            ValidatorHelper.CheckInputValueIsInRange(percentage, "percentage", 0, RangeCheckingInclusion.ExcludeValue, 100, RangeCheckingInclusion.ExcludeValue);
            return ExtentHelper.ZoomIn(worldExtent, percentage);
        }
public static RectangleShape ZoomIn ( RectangleShape worldExtent , int percentage ) { ValidatorHelper . CheckExtentIsValid ( worldExtent , " " ) ; ValidatorHelper . CheckInputValueIsInRange ( percentage , " " , 0 , RangeCheckingInclusion . ExcludeValue , 100 , RangeCheckingInclusion . ExcludeValue ) ; return ExtentHelper . ZoomIn ( worldExtent , percentage ) ; }
This method returns a new extent that is zoomed in by the percentage
provided.
This method returns a new extent that is zoomed in by the percentage provided .
This method returns a new extent that is zoomed in by the percentage
provided.
This method returns a new extent that is zoomed in by the percentage provided .
worldExtent
RectangleShape
This parameter is the world extent you want to zoom.
This parameter is the world extent you want to zoom .
percentage
int
This parameter is the percentage by which you want to zoom in.
This parameter is the percentage by which you want to zoom in .
remarks
None