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


ICadLayer Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ICadLayer Interface

Provides access to properties that give information on the CAD drawing.

Product Availability

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

Members

Description
Read-only property AreaOfInterest The default area of interest for the layer.
Read/write property Cached Indicates if the layer needs its own display cache.
Read/write property CadDrawingDataset The dataset of the CAD drawing.
Method Draw Draws the layer to the specified display for the given draw phase.
Read-only property FilePath Full pathname of the CAD drawing.
Read-only property Is2d Indicates if the CAD drawing is 2D.
Read-only property Is3d Indicates if the CAD drawing is 3D.
Read-only property IsAutoCad Indicates if the CAD drawing is an AutoCAD file.
Read-only property IsDgn Indicates if the CAD drawing is a MicroStation file.
Read/write property MaximumScale Maximum scale (representative fraction) at which the layer will display.
Read/write property MinimumScale Minimum scale (representative fraction) at which the layer will display.
Read/write property Name Layer name.
Read/write property ShowTips Indicates if the layer shows map tips.
Write-only property SpatialReference Spatial reference for the layer.
Read-only property SupportedDrawPhases Supported draw phases.
Read-only property TipText Map tip text at the specified location.
Read-only property Valid Indicates if the layer is currently valid.
Read/write property Visible Indicates if the layer is currently visible.

Inherited Interfaces

Interfaces Description
ILayer Provides access to members that work with all layers.

CoClasses that implement ICadLayer

CoClasses and Classes Description
CadLayer Esri CAD Layer class.

See Also

ILayer Interface

.NET Samples

View CAD data in a MapControl (Code Files: CADView)

.NET Related Topics

How to access members that control the CAD drawing dataset