BlockLoad Method (String, String)
|
Creates a block from an external dxf file.
Namespace:
DXFReaderNET.Blocks
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static Block Load(
string file,
string name
)
Public Shared Function Load (
file As String,
name As String
) As Block
public:
static Block^ Load(
String^ file,
String^ name
)
static member Load :
file : string *
name : string -> Block
STATIC METHOD Load(
file AS STRING,
name AS STRING
) AS Block
Parameters
- file
- Type: SystemString
Dxf file name. - name
- Type: SystemString
Name of the new block.
Return Value
Type:
BlockThe block build from the dxf file content. It will return null if the file has not been able to load.
Remarks Only the entities contained in ModelSpace will make part of the block.
See Also