This document is archived and information here might be outdated.  Recommended version.


IWMSServiceDescription.ImageRequestUrl Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GISClient)  

IWMSServiceDescription.ImageRequestUrl Property

The URL to download the map image from.

[Visual Basic .NET]
Public Function get_ImageRequestUrl ( _
    ByVal pLayers As IArray, _
    ByVal pBoundingBox As IEnvelope, _
    ByVal imageWidth As Integer, _
    ByVal imageHeight As Integer, _
    ByVal bgColor As Integer, _
    ByVal responseFormat As String, _
    ByVal drawTransparent As Boolean _
) As String
[C#]
public string get_ImageRequestUrl (
    IArray pLayers,
    IEnvelope pBoundingBox,
    int imageWidth,
    int imageHeight,
    int bgColor,
    string responseFormat,
    bool drawTransparent
);
[C++]
HRESULT get_ImageRequestUrl(
  IArray* pLayers,
  IEnvelope* pBoundingBox,
  long imageWidth,
  long imageHeight,
  OLE_COLOR bgColor,
  BSTR responseFormat,
  VARIANT_BOOL drawTransparent,
  System.String* URL
);
[C++]

Parameters pLayers [in]
pLayers is a parameter of type IArray* pBoundingBox [in]
pBoundingBox is a parameter of type IEnvelope* imageWidth [in]
imageWidth is a parameter of type long imageHeight [in]
imageHeight is a parameter of type long bgColor [in]
bgColor is a parameter of type OLE_COLOR responseFormat [in]
responseFormat is a parameter of type BSTR drawTransparent [in]
drawTransparent is a parameter of type bool URL [out, retval]
URL is a parameter of type BSTR*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IWMSServiceDescription Interface