Click or drag to resize

BlockLoad Method (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
)

Parameters

file
Type: SystemString
Dxf file name.

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
The name of the block will be the file name without extension, and only the entities contained in ModelSpace will make part of the block.
See Also