Ejemplo n.º 1
0
 public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     if (value is string)
     {
         int num = 0;
         if (DocUtil.StringToDXFCode((string)value, ref num))
         {
             return(value);
         }
     }
     if (value is int)
     {
         return(DocUtil.DXFCodeToString((int)value));
     }
     return(MSCFeatureClass.GetTypeCodeString(MSCFeatureClass.fcTypeCode.fcTypePoint));
 }