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

436123e6 585c 7809 74e0 3f809a1445fa

haplokuon edited this page May 6, 2023 · 1 revision

Create Method

netDxf 3.0.0 Library

Creates a block from the content of a document.

Definition

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

C#

public static Block Create(
	DxfDocument doc,
	string name
)

VB

Public Shared Function Create ( 
	doc As DxfDocument,
	name As String
) As Block

C++

public:
static Block^ Create(
	DxfDocument^ doc, 
	String^ name
)

F#

static member Create : 
        doc : DxfDocument * 
        name : string -> Block 

Parameters

  DxfDocument
A DxfDocument instance.
  String
Name of the new block.

Return Value

Block
The block build from the document content.

Remarks

Only the entities contained in ModelSpace will make part of the block.

See Also

Reference

Block Class
netDxf.Blocks Namespace

Clone this wiki locally