MapSuiteGisEditor/WpfDesktopExtension/Shares/MapEngine.cs
/// <summary>Update the CurrentExtent by using a panning operation.</summary>
/// <overloads>
/// This overload allows you to pass in a direction and a percentage by which you want to
/// pan.
/// </overloads>
/// <returns>None.</returns>
/// <remarks>None</remarks>
/// <param name="panDirection">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>
Update the CurrentExtent by using a panning operation.
Update the CurrentExtent by using a panning operation .
public void Pan(PanDirection panDirection, int percentage)
        {
            ValidatorHelper.CheckPanDirectionIsValid(panDirection, "direction");
            ValidatorHelper.CheckInputValueIsLargerThan(percentage, "percentage", 0, RangeCheckingInclusion.ExcludeValue);
            ValidatorHelper.CheckExtentIsValid(currentExtent, "currentExtent");
            currentExtent = Pan(currentExtent, panDirection, percentage);
        }
public void Pan ( PanDirection panDirection , int percentage ) { ValidatorHelper . CheckPanDirectionIsValid ( panDirection , " " ) ; ValidatorHelper . CheckInputValueIsLargerThan ( percentage , " " , 0 , RangeCheckingInclusion . ExcludeValue ) ; ValidatorHelper . CheckExtentIsValid ( currentExtent , " " ) ; currentExtent = Pan ( currentExtent , panDirection , percentage ) ; }
Update the CurrentExtent by using a panning operation.
Update the CurrentExtent by using a panning operation .
None
panDirection
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