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

acabc33b 8fcb 27c2 91e6 ce80edf3247e

haplokuon edited this page May 6, 2023 · 1 revision

Block(String, String, Boolean) Constructor

netDxf 3.0.0 Library

Initializes a new instance of the Block class as an external reference drawing.

Definition

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

C#

public Block(
	string name,
	string xrefFile,
	bool overlay
)

VB

Public Sub New ( 
	name As String,
	xrefFile As String,
	overlay As Boolean
)

C++

public:
Block(
	String^ name, 
	String^ xrefFile, 
	bool overlay
)

F#

new : 
        name : string * 
        xrefFile : string * 
        overlay : bool -> Block

Parameters

  String
Block name.
  String
External reference path name.
  Boolean
Specifies if the external reference is an overlay, by default it is set to false.

Remarks

Only DWG files can be used as externally referenced blocks.

See Also

Reference

Block Class
Block Overload
netDxf.Blocks Namespace

Clone this wiki locally