Provides access to the available properties of a map server layer object.
| Description | ||
|---|---|---|
![]() |
BackgroundColor | The background color of a map server layer object. |
![]() |
ClearDrawCache | Clears the cache of images downloaded from the server redraw. |
![]() |
GetConnectionInfo | Returns information about a connection to a map server object or to a map document. |
![]() |
LocalConnect | Connects to map document data frame specified by the location of a map document and the name of a data frame. |
![]() |
ServerConnect | Connects to map server object specified by the AGSServerObject name for a MapServer server object and the name of a data frame. |
![]() |
TransparentColor | The color that is transparent (100 %). |
| CoClasses and Classes | Description |
|---|---|
| MapServerLayer | Provides programmatic access to a map server layer. |
When adding a map server layer to the application the layer and its sublayers are contracted in the TOC by default. This example shows how to expand the Map Server Layer and its sublayer before adding the Map Server Layer to the application.