This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 409
1e82622e 0ab6 177d 2cfd 0c9e0bd9e197
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Creates a block from an external DXF file.
Namespace: netDxf.Blocks
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public static Block Load(
string file,
string name,
IEnumerable<string> supportFolders
)
VB
Public Shared Function Load (
file As String,
name As String,
supportFolders As IEnumerable(Of String)
) As Block
C++
public:
static Block^ Load(
String^ file,
String^ name,
IEnumerable<String^>^ supportFolders
)
F#
static member Load :
file : string *
name : string *
supportFolders : IEnumerable<string> -> Block
- String
- DXF file name.
- String
- Name of the new block.
- IEnumerable(String)
- List of the document support folders.
Block
The block build from the DXF file content. It will return null if the file has not been able to load.
Only the entities contained in ModelSpace will make part of the block.