com.esri.arcgis.carto
Interface ICadLayer

All Superinterfaces:
ILayer, Serializable
All Known Implementing Classes:
CadLayer

public interface ICadLayer
extends ILayer, Serializable

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

Product Availability

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

See Also:
ILayer

Method Summary
 ICadDrawingDataset getCadDrawingDataset()
          The dataset of the CAD drawing.
 String getFilePath()
          Full pathname of the CAD drawing.
 boolean is2d()
          Indicates if the CAD drawing is 2D.
 boolean is3d()
          Indicates if the CAD drawing is 3D.
 boolean isAutoCad()
          Indicates if the CAD drawing is an AutoCAD file.
 boolean isDgn()
          Indicates if the CAD drawing is a MicroStation file.
 void setCadDrawingDatasetByRef(ICadDrawingDataset cadDrawingDataset)
          The dataset of the CAD drawing.
 
Methods inherited from interface com.esri.arcgis.carto.ILayer
draw, getAreaOfInterest, getMaximumScale, getMinimumScale, getName, getSupportedDrawPhases, getTipText, isCached, isShowTips, isValid, isVisible, setCached, setMaximumScale, setMinimumScale, setName, setShowTips, setSpatialReferenceByRef, setVisible
 

Method Detail

getCadDrawingDataset

ICadDrawingDataset getCadDrawingDataset()
                                        throws IOException,
                                               AutomationException
The dataset of the CAD drawing.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.datasourcesfile.ICadDrawingDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCadDrawingDatasetByRef

void setCadDrawingDatasetByRef(ICadDrawingDataset cadDrawingDataset)
                               throws IOException,
                                      AutomationException
The dataset of the CAD drawing.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
cadDrawingDataset - A reference to a com.esri.arcgis.datasourcesfile.ICadDrawingDataset (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFilePath

String getFilePath()
                   throws IOException,
                          AutomationException
Full pathname of the CAD drawing.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The filePath
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ILayer

is2d

boolean is2d()
             throws IOException,
                    AutomationException
Indicates if the CAD drawing is 2D.

Product Availability

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

Returns:
The is2d
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

is3d

boolean is3d()
             throws IOException,
                    AutomationException
Indicates if the CAD drawing is 3D.

Product Availability

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

Returns:
The is3d
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAutoCad

boolean isAutoCad()
                  throws IOException,
                         AutomationException
Indicates if the CAD drawing is an AutoCAD file.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The isAutoCad
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ILayer

isDgn

boolean isDgn()
              throws IOException,
                     AutomationException
Indicates if the CAD drawing is a MicroStation file.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The isDgn
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ILayer