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


IACImageLayerAdmin.Connect Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IACImageLayerAdmin.Connect Method

Connects to the image layer.

[Visual Basic .NET]
Public Sub Connect ( _
    ByVal LayerInfo As String, _
    ByVal request As IIMSAxlRequest, _
    ByVal spatialRef As ISpatialReference, _
    ByVal MapUnits As acMapUnits _
)
[C#]
public void Connect (
    string LayerInfo,
    IIMSAxlRequest request,
    ISpatialReference spatialRef,
    acMapUnits MapUnits
);
[C++]
HRESULT Connect(
  BSTR LayerInfo,
  IIMSAxlRequest* request,
  ISpatialReference* spatialRef,
  acMapUnits MapUnits
);
[C++]

Parameters LayerInfo [in]
LayerInfo is a parameter of type BSTR request [in]
request is a parameter of type IIMSAxlRequest* spatialRef [in]
spatialRef is a parameter of type ISpatialReference* MapUnits [in]
MapUnits is a parameter of type acMapUnits

Product Availability

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

See Also

IACImageLayerAdmin Interface