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

1e82622e 0ab6 177d 2cfd 0c9e0bd9e197

haplokuon edited this page May 6, 2023 · 1 revision

Load(String, String, IEnumerable<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,
	string name,
	IEnumerable<string> supportFolders
)

VB

Public Shared Function Load ( 
	file As String,
	name As String,
	supportFolders As IEnumerable(Of String)
) As Block

C++

public:
static Block^ Load(
	String^ file, 
	String^ name, 
	IEnumerable<String^>^ supportFolders
)

F#

static member Load : 
        file : string * 
        name : string * 
        supportFolders : IEnumerable<string> -> Block 

Parameters

  String
DXF file name.
  String
Name of the new block.
  IEnumerable(String)
List of the document support folders.

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

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