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

f54b175c 110b d4c5 2c13 13e2792dabab

haplokuon edited this page May 6, 2023 · 1 revision

Remove(String) Method

netDxf 3.0.0 Library

Removes a block.

Definition

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

C#

public override bool Remove(
	string name
)

VB

Public Overrides Function Remove ( 
	name As String
) As Boolean

C++

public:
virtual bool Remove(
	String^ name
) override

F#

abstract Remove : 
        name : string -> bool 
override Remove : 
        name : string -> bool 

Parameters

  String
Block name to remove from the document.

Return Value

Boolean
True if the block has been successfully removed, or false otherwise.

Remarks

Reserved blocks or any other referenced by objects cannot be removed.

See Also

Reference

BlockRecords Class
Remove Overload
netDxf.Collections Namespace

Clone this wiki locally