예제 #1
0
        public static string TableTypeToName(DxfTableType type)
        {
            string name = "NONE";

            switch (type)
            {
            case DxfTableType.AppId:
                name = AppIdText;
                break;

            case DxfTableType.BlockRecord:
                name = BlockRecordText;
                break;

            case DxfTableType.DimStyle:
                name = DimStyleText;
                break;

            case DxfTableType.Layer:
                name = LayerText;
                break;

            case DxfTableType.LType:
                name = LTypeText;
                break;

            case DxfTableType.Style:
                name = StyleText;
                break;

            case DxfTableType.Ucs:
                name = UcsText;
                break;

            case DxfTableType.View:
                name = ViewText;
                break;

            case DxfTableType.ViewPort:
                name = ViewPortText;
                break;
            }
            return(name);
        }
예제 #2
0
파일: DxfTable.cs 프로젝트: nakijun/Dxf
 public static string TableTypeToName(DxfTableType type)
 {
     string name = "NONE";
     switch (type)
     {
         case DxfTableType.AppId:
             name = AppIdText;
             break;
         case DxfTableType.BlockRecord:
             name = BlockRecordText;
             break;
         case DxfTableType.DimStyle:
             name = DimStyleText;
             break;
         case DxfTableType.Layer:
             name = LayerText;
             break;
         case DxfTableType.LType:
             name = LTypeText;
             break;
         case DxfTableType.Style:
             name = StyleText;
             break;
         case DxfTableType.Ucs:
             name = UcsText;
             break;
         case DxfTableType.View:
             name = ViewText;
             break;
         case DxfTableType.ViewPort:
             name = ViewPortText;
             break;
     }
     return name;
 }