private void method_2(IntPtr intptr_0, IFeature ifeature_0) { int num = TabRead._mitab_c_get_type(intptr_0); IFields fields = ifeature_0.Fields; int num1 = -1; switch (num) { case 1: case 2: case 3: case 10: { num1 = fields.FindField("S_SID"); ifeature_0.Value[num1] = TabRead._mitab_c_get_symbol_no(intptr_0); num1 = fields.FindField("S_Size"); ifeature_0.Value[num1] = TabRead._mitab_c_get_symbol_size(intptr_0); num1 = fields.FindField("S_Color"); ifeature_0.Value[num1] = TabRead._mitab_c_get_symbol_color(intptr_0); return; } case 4: { num1 = fields.FindField("T_Text"); ifeature_0.Value[num1] = TabRead._mitab_c_get_text(intptr_0); num1 = fields.FindField("T_Font"); ifeature_0.Value[num1] = TabRead._mitab_c_get_font(intptr_0); num1 = fields.FindField("T_Height"); ifeature_0.Value[num1] = TabRead._mitab_c_get_text_height(intptr_0); num1 = fields.FindField("T_Weight"); ifeature_0.Value[num1] = TabRead._mitab_c_get_text_width(intptr_0); num1 = fields.FindField("T_BKC"); ifeature_0.Value[num1] = TabRead._mitab_c_get_text_bgcolor(intptr_0); num1 = fields.FindField("T_FKC"); ifeature_0.Value[num1] = TabRead._mitab_c_get_text_fgcolor(intptr_0); num1 = fields.FindField("T_Angle"); ifeature_0.Value[num1] = TabRead._mitab_c_get_text_angle(intptr_0); num1 = fields.FindField("T_Justi"); ifeature_0.Value[num1] = TabRead._mitab_c_get_text_justification(intptr_0); num1 = fields.FindField("T_LT"); ifeature_0.Value[num1] = TabRead._mitab_c_get_text_linetype(intptr_0); num1 = fields.FindField("T_Space"); ifeature_0.Value[num1] = TabRead._mitab_c_get_text_spacing(intptr_0); return; } case 5: case 6: { num1 = fields.FindField("L_PID"); ifeature_0.Value[num1] = TabRead._mitab_c_get_pen_pattern(intptr_0); num1 = fields.FindField("L_Width"); ifeature_0.Value[num1] = TabRead._mitab_c_get_pen_width(intptr_0); num1 = fields.FindField("L_Color"); ifeature_0.Value[num1] = TabRead._mitab_c_get_pen_color(intptr_0); return; } case 7: { num1 = fields.FindField("P_BID"); ifeature_0.Value[num1] = TabRead._mitab_c_get_brush_pattern(intptr_0); num1 = fields.FindField("P_BBkC"); ifeature_0.Value[num1] = TabRead._mitab_c_get_brush_bgcolor(intptr_0); num1 = fields.FindField("P_BFRC"); ifeature_0.Value[num1] = TabRead._mitab_c_get_brush_fgcolor(intptr_0); num1 = fields.FindField("P_BTTP"); ifeature_0.Value[num1] = TabRead._mitab_c_get_brush_transparent(intptr_0); num1 = fields.FindField("P_PID"); ifeature_0.Value[num1] = TabRead._mitab_c_get_pen_pattern(intptr_0); num1 = fields.FindField("P_PC"); ifeature_0.Value[num1] = TabRead._mitab_c_get_pen_color(intptr_0); num1 = fields.FindField("P_PW"); ifeature_0.Value[num1] = TabRead._mitab_c_get_pen_width(intptr_0); return; } case 8: case 9: { return; } default: { return; } } }