Imports layers from a file or stream in IEV, ALL or DXF format.
Notes: DXF is an Autocad vector format. DXF file can only be imported from file and only lines and ellipses objects are supported.
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public int LayersImport( string filename, IEFileFormats fileFormat, bool append )
Public Function LayersImport ( _ filename As String, _ fileFormat As IEFileFormats, _ append As Boolean _ ) As Integer
public: int LayersImport( String^ filename, IEFileFormats fileFormat, bool append )
Parameters
- filename
- String
The full path to a file to import
- fileFormat
- IEFileFormats
The type of file, if known. It should be one IEV, ALL or DXF. You can also specify Unknown, whereby IEvolution will infer the format from the content (with DXF only the file extension is considered)
- append
- Boolean
When false the existing content is cleared before importing