ArcGIS API for Silverlight - Library Reference
ToBitmap Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > Layer Class : ToBitmap Method

Renders the layer to a System.Windows.Media.Imaging.WriteableBitmap.

Syntax

Visual Basic (Declaration) 
Public Function ToBitmap() As WriteableBitmap
C# 
public WriteableBitmap ToBitmap()

Return Value

A WriteableBitmap instance of the layer's current state on the map.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

© ESRI, Inc. All Rights Reserved.