![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
Draw(SpatialReference) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto Namespace > LayoutView Class > Draw Method : Draw(SpatialReference) Method |
- newSpatialReference
Visual Basic (Declaration) | |
---|---|
Public Overloads Overrides Function Draw( _ ByVal newSpatialReference As SpatialReference _ ) As ESRI.ArcGIS.ADF.Web.CartoImage |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As LayoutView Dim newSpatialReference As SpatialReference Dim value As ESRI.ArcGIS.ADF.Web.CartoImage value = instance.Draw(newSpatialReference) |
C# | |
---|---|
public override ESRI.ArcGIS.ADF.Web.CartoImage Draw( SpatialReference newSpatialReference ) |
Parameters
- newSpatialReference
Return Value
New redrawn map image with specified spatial reference, in the form of a CartoImage object. Use CartoImage.Url to retrieve the image's URL.For an example of drawing a layout, see the LayoutView overview.
When using this method, the spatial reference's coordinate system and datum will apply to all data frames in the layout. If the layout contains multiple data frames, and you wish to apply different coordinate systems, set the spatial reference for each data frame via the DataFrames collection of the LayoutView, and then use a Draw method with no spatial reference parameter.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family