C# Class DXFLibrary.Block

A dxf BLOCK element.
Inheritance: DXFLibrary.Element
Afficher le fichier Open project: cos/dxflibrary Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Block() public méthode

Constructor for block
public Block ( ) : System
Résultat System

Block() public méthode

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
Résultat System

SetEndBlk() public méthode

public SetEndBlk ( DXFLibrary.EndBlk eb ) : void
eb DXFLibrary.EndBlk
Résultat void

SetFlag() public méthode

public SetFlag ( short flag ) : void
flag short
Résultat void

SetHandle() public méthode

Sets the handle for the block.
public SetHandle ( string handle ) : void
handle string The handle value
Résultat void

SetLayer() public méthode

Specifies the layer for the block.
public SetLayer ( string l ) : void
l string
Résultat void

SetName() public méthode

Sets the block name.
public SetName ( string name ) : void
name string Contains the name.
Résultat void

SetPosition() public méthode

public SetPosition ( double x, double y, double z ) : void
x double
y double
z double
Résultat void