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

18e14fc4 6fe0 c3bc 5e8c 2b77b48ec57f

haplokuon edited this page May 6, 2023 · 1 revision

Block(String, IEnumerable<EntityObject>, IEnumerable<AttributeDefinition>) Constructor

netDxf 3.0.0 Library

Initializes a new instance of the Block class.

Definition

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

C#

public Block(
	string name,
	IEnumerable<EntityObject> entities,
	IEnumerable<AttributeDefinition> attributes
)

VB

Public Sub New ( 
	name As String,
	entities As IEnumerable(Of EntityObject),
	attributes As IEnumerable(Of AttributeDefinition)
)

C++

public:
Block(
	String^ name, 
	IEnumerable<EntityObject^>^ entities, 
	IEnumerable<AttributeDefinition^>^ attributes
)

F#

new : 
        name : string * 
        entities : IEnumerable<EntityObject> * 
        attributes : IEnumerable<AttributeDefinition> -> Block

Parameters

  String
Block name.
  IEnumerable(EntityObject)
The list of entities that make the block.
  IEnumerable(AttributeDefinition)
The list of attribute definitions that make the block.

See Also

Reference

Block Class
Block Overload
netDxf.Blocks Namespace

Clone this wiki locally