ITableWindow3 tw3 = tw3.ActiveTableWindow as ITableWindow3; ITableControl3 tc3 = tw3.TableControl as ITableControl3; if (tc3 != null) tc3.SetCurrentRow(true, 3); IRgbColor rgbcolor = new RgbColorClass(); rgbcolor.Red = 255; rgbcolor.Green = 255; rgbcolor.Blue = 0; IColor color = rgbcolor as IColor; tc3.SetCellFont(3, "", color, null, null);
ITableFields tablefields = "IStandAloneTable" as ITableFields. IFieldInfo3 fieldinfo3 = null; for(int x = 0; x < tablefields.FieldCount; x++) { fieldinfo3 = tableinfo.FieldInfo as IFieldInfo3; if(tablefields.Field.Name == "somefield") fieldinfo3.Highlight = true; ...... }
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.