func (t *Table) Handle() int {
	return t.handle
}
Handle returns a handle value of TABLE.
package table
import (
	"fmt"
	"strings"
	"github.com/yofu/dxf/format"
)
type Table struct {
	name   string  
	handle int     
	size   int     
	tables []SymbolTable
}
func NewTable(name string) *Table {
	t := new(Table)
	t.name = name
	return t
}
func (t *Table) Format(f format.Formatter) {
	f.WriteString(0, "TABLE")
	f.WriteString(2, t.name)
	f.WriteHex(5, t.handle)
	f.WriteString(100, "AcDbSymbolTable")
	f.WriteInt(70, t.size)
	if t.name == "DIMSTYLE" {
		f.WriteString(100, "AcDbDimStyleTable")
		f.WriteInt(71, t.size)
		for i := 0; i < t.size; i++ {
			f.WriteHex(340, t.tables[i].Handle())
		}
	}
	for i := 0; i < t.size; i++ {
		t.tables[i].Format(f)
	}
	f.WriteString(0, "ENDTAB")
}
func (t *Table) String() string {
	f := format.NewASCII()
	return t.FormatString(f)
}
func (t *Table) FormatString(f format.Formatter) string {
	t.Format(f)
	return f.Output()
}