C# Class DXFLibrary.Block

A dxf BLOCK element.
Inheritance: DXFLibrary.Element
Exibir arquivo Open project: cos/dxflibrary Class Usage Examples

Public Methods

Method Description
AddEntity ( Entity e ) : void

Add an dxf entity to a BLOCK

Block ( ) : System

Constructor for block

Block ( string s ) : System

Used to create an BLOCK with user dxf code.

SetEndBlk ( DXFLibrary.EndBlk eb ) : void
SetFlag ( short flag ) : void
SetHandle ( string handle ) : void

Sets the handle for the block.

SetLayer ( string l ) : void

Specifies the layer for the block.

SetName ( string name ) : void

Sets the block name.

SetPosition ( double x, double y, double z ) : void

Method Details

AddEntity() public method

Add an dxf entity to a BLOCK
public AddEntity ( Entity e ) : void
e Entity The added entity
return void

Block() public method

Constructor for block
public Block ( ) : System
return System

Block() public method

Used to create an BLOCK with user dxf code.
public Block ( string s ) : System
s string Contains the DXF code that will be writen directly to the dxf file
return System

SetEndBlk() public method

public SetEndBlk ( DXFLibrary.EndBlk eb ) : void
eb DXFLibrary.EndBlk
return void

SetFlag() public method

public SetFlag ( short flag ) : void
flag short
return void

SetHandle() public method

Sets the handle for the block.
public SetHandle ( string handle ) : void
handle string The handle value
return void

SetLayer() public method

Specifies the layer for the block.
public SetLayer ( string l ) : void
l string
return void

SetName() public method

Sets the block name.
public SetName ( string name ) : void
name string Contains the name.
return void

SetPosition() public method

public SetPosition ( double x, double y, double z ) : void
x double
y double
z double
return void