C# 클래스 DXFLibrary.Block

A dxf BLOCK element.
상속: DXFLibrary.Element
파일 보기 프로젝트 열기: cos/dxflibrary 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

AddEntity() 공개 메소드

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

Block() 공개 메소드

Constructor for block
public Block ( ) : System
리턴 System

Block() 공개 메소드

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
리턴 System

SetEndBlk() 공개 메소드

public SetEndBlk ( DXFLibrary.EndBlk eb ) : void
eb DXFLibrary.EndBlk
리턴 void

SetFlag() 공개 메소드

public SetFlag ( short flag ) : void
flag short
리턴 void

SetHandle() 공개 메소드

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

SetLayer() 공개 메소드

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

SetName() 공개 메소드

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

SetPosition() 공개 메소드

public SetPosition ( double x, double y, double z ) : void
x double
y double
z double
리턴 void