ESRI.ArcGIS.ADF.IMS | |
Draw(SpatialReference) Method | |
See Also |
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 CartoImage |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public override 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.