MapSuiteGisEditor/WpfDesktopExtension/Shares/MapEngine.cs
/// <summary>
/// Draw a group of AdornmentLayers on the specified "background" image.
/// </summary>
/// <param name="image">This parameter specifies the "background" image of the returning image.</param>
/// <param name="mapUnit">This parameter specifies the MapUnit used in the current map.</param>
/// <returns>The resulting image after drawing the group of AdornmentLayers on the specified "background" image.</returns>
Draw a group of AdornmentLayers on the specified "background" image.
Draw a group of AdornmentLayers on the specified " background " image .
public GeoImage DrawAdornmentLayers(GeoImage image, GeographyUnit mapUnit)
        {
            ValidatorHelper.CheckObjectIsNotNull(image, "image");
            ValidatorHelper.CheckGeographyUnitIsValid(mapUnit, "mapUnit");
            ValidatorHelper.CheckObjectIsNotNull(image, "gdiPlusBitmap");
            ValidatorHelper.CheckExtentIsValid(currentExtent, "currentExtent");
            Draw(adornmentLayers, image.NativeImage, mapUnit, false);
            return image;
        }
public GeoImage DrawAdornmentLayers ( GeoImage image , GeographyUnit mapUnit ) { ValidatorHelper . CheckObjectIsNotNull ( image , " " ) ; ValidatorHelper . CheckGeographyUnitIsValid ( mapUnit , " " ) ; ValidatorHelper . CheckObjectIsNotNull ( image , " " ) ; ValidatorHelper . CheckExtentIsValid ( currentExtent , " " ) ; Draw ( adornmentLayers , image . NativeImage , mapUnit , false ) ; return image ; }
Draw a group of AdornmentLayers on the specified "background" image.
Draw a group of AdornmentLayers on the specified " background " image .
The resulting image after drawing the group of AdornmentLayers on the specified "background" image.
The resulting image after drawing the group of AdornmentLayers on the specified " background " image .
image
GeoImage
This parameter specifies the "background" image of the returning image.
This parameter specifies the " background " image of the returning image .
mapUnit
GeographyUnit
This parameter specifies the MapUnit used in the current map.
This parameter specifies the MapUnit used in the current map .