Import Method

The Import method imports a file into the document. Returns an AutoShape object.

Syntax

object.Import( file, options, id )

 

Parameter Type Description
file String required, path and complete file name including extension
options Variant optional, default = ""
id Variant optional, imported object name

 

Remarks

The file parameter must include a file extension. See the following links for more details on options.

Atlas [.BNA] Import Options

AutoCAD [.DXF] Import Options

Bitmap Import Options

Enhanced Metafile [.EMF] Import Options

ER Mapper [.ECW] Import Automation Options

Esri ArcInfo Export Format [.E00] Import Options

Esri Shape [.SHP] Import Options

Golden Software Boundary [.GSB] Import Options

Golden Software Blanking [.BLN] Import Options

Golden Software Interchange [.GSI] Import Options

LizardTech MrSID [.SID] Import Automation Options

MapInfo Interchange [.MIF] Import Options

PlotCall [.PLT] Import Options

USGS Digital Line Graph Import Options

USGS SDTS [.DDF] Import Options

 

Example

This example shows how to import an AutoCAD DXF file.

Plot.Import(GrapherApp.Path + "\ samples\test.dxf")

 

Used by: Document object