Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

1a4ca3bc 383f 888c d7bc 4ab08f6edcdb

haplokuon edited this page May 6, 2023 · 1 revision

Load(String) Method

netDxf 3.0.0 Library

Creates a block from an external DXF file.

Definition

Namespace: netDxf.Blocks
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static Block Load(
	string file
)

VB

Public Shared Function Load ( 
	file As String
) As Block

C++

public:
static Block^ Load(
	String^ file
)

F#

static member Load : 
        file : string -> Block 

Parameters

  String
DXF file name.

Return Value

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

Reference

Block Class
Load Overload
netDxf.Blocks Namespace

Clone this wiki locally