Click or drag to resize

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
)

Parameters

file
Type: SystemString
Dxf file name.
name
Type: SystemString
Name of the new block.

Return Value

Type: Block
The 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