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); }
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; }