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
)
Public Shared Function Load (
file As String
) As Block
public:
static Block^ Load(
String^ file
)
static member Load :
file : string -> Block
STATIC METHOD Load(
file AS STRING
) AS Block
Parameters
- file
- Type: SystemString
Dxf file name.
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
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