MapSuiteGisEditor/WpfDesktopExtension/Shares/MapEngine.cs
/// <summary>This method returns a panned extent.</summary>
/// <overloads>
/// This overload allows you to pass in a direction and a percentage by which you want to
/// pan.
/// </overloads>
/// <returns>This method returns a panned extent.</returns>
/// <remarks>None</remarks>
/// <param name="worldExtent">This parameter is the world extent you want to pan.</param>
/// <param name="direction">This parameter is the direction you want to pan.</param>
/// <param name="percentage">This parameter is the percentage by which you want to pan.</param>
This method returns a panned extent.
This method returns a panned extent .
public static RectangleShape Pan(RectangleShape worldExtent, PanDirection direction, int percentage)
        {
            ValidatorHelper.CheckExtentIsValid(worldExtent, "worldExtent");
            ValidatorHelper.CheckObjectIsNotNull(direction, "direction");
            ValidatorHelper.CheckPanDirectionIsValid(direction, "direction");
            ValidatorHelper.CheckInputValueIsLargerThan(percentage, "percentage", 0, RangeCheckingInclusion.IncludeValue);
            return ExtentHelper.Pan(worldExtent, direction, percentage);
        }
public static RectangleShape Pan ( RectangleShape worldExtent , PanDirection direction , int percentage ) { ValidatorHelper . CheckExtentIsValid ( worldExtent , " " ) ; ValidatorHelper . CheckObjectIsNotNull ( direction , " " ) ; ValidatorHelper . CheckPanDirectionIsValid ( direction , " " ) ; ValidatorHelper . CheckInputValueIsLargerThan ( percentage , " " , 0 , RangeCheckingInclusion . IncludeValue ) ; return ExtentHelper . Pan ( worldExtent , direction , percentage ) ; }
This method returns a panned extent.
This method returns a panned extent .
This method returns a panned extent.
This method returns a panned extent .
worldExtent
RectangleShape
This parameter is the world extent you want to pan.
This parameter is the world extent you want to pan .
direction
PanDirection
This parameter is the direction you want to pan.
This parameter is the direction you want to pan .
percentage
int
This parameter is the percentage by which you want to pan.
This parameter is the percentage by which you want to pan .
overloads
This overload allows you to pass in a direction and a percentage by which you want to
pan.
This overload allows you to pass in a direction and a percentage by which you want to pan .
remarks
None