Gets the layer format defined in a map resource manager for a layer in a map resource after updating layer definitions to account for changes to service if this has not been done yet during this session.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim page As Page
Dim mapResourceManager As String
Dim mapResource As String
Dim layerID As String
Dim value As LayerFormat
value = LayerFormat.FromMapResourceManager(page, mapResourceManager, mapResource, layerID) |
Parameters
- page
- The page on which the map resource manager exists.
- mapResourceManager
- The Unique ID of the map resource manager
- mapResource
- The name of the map resource
- layerID
- The id of the layer
Return Value
The layer format for the layer in the map resource.
Requirements
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
See Also