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


ICadDrawingLayers.DrawingLayerVisible Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesFile)  

ICadDrawingLayers.DrawingLayerVisible Property

Indicates if the specified CAD drawing layer visible in the CAD layer in ArcMap.

[Visual Basic .NET]
Public Function get_DrawingLayerVisible ( _
    ByVal index As Integer _
) As Boolean
[Visual Basic .NET]
Public Sub set_DrawingLayerVisible ( _
    ByVal index As Integer, _
    ByVal visible As Boolean _
)
[C#]
public bool get_DrawingLayerVisible (
    int index
);
[C#]
public void set_DrawingLayerVisible (
    int index,
    bool visible
);
[C++]
HRESULT get_DrawingLayerVisible(
  long index,
  VARIANT_BOOL* visible
);
[C++]
HRESULT put_DrawingLayerVisible(
  long index,
  VARIANT_BOOL visible
);
[C++]

Parameters index [in] index is a parameter of type long visible [out, retval] visible is a parameter of type VARIANT_BOOL index [in] index is a parameter of type long visible [in] visible is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

ICadDrawingLayers Interface

.NET Related Topics

How to return CAD drawing layer properties