private LabelClassCollection getLabelClassCollection() { LabelClassCollection lcc = new LabelClassCollection(); LabelOptions lo = new LabelOptions() { FontSize = 12, FontStyle = TextStyle.Normal, Color = Colors.Black, FontFamily = new System.Windows.Media.FontFamily("Arial") }; LabelClass lc = new LabelClass() { LabelOptions = lo, LabelExpression = "[AREANAME]", LabelPlacement = ESRI.ArcGIS.Client.LabelPlacement.PointLabelPlacementAboveCenter }; lcc.Add(lc); return lcc; }
private LabelClassCollection getLabelClassCollection() { LabelClassCollection lcc = new LabelClassCollection(); LabelOptions lo = new LabelOptions() { FontSize = 12, FontStyle = TextStyle.Normal, Color = Colors.Black, FontFamily = new System.Windows.Media.FontFamily("Arial") }; LabelClass lc = new LabelClass() { LabelOptions = lo, LabelExpression = "[AREANAME]", LabelPlacement = ESRI.ArcGIS.Client.LabelPlacement.PointLabelPlacementAboveCenter }; lcc.Add(lc); return(lcc); }
/// <param name="labelOption">How to show the label for the list. If 'drawExpandedNoLabel' the label for the list is shown as the heading for the dnaName field</param> public ConfigAttribute(LabelOptions labelOption) { this.labelOption = labelOption; }