AnsweredAssumed Answered

Create composite symbol

Question asked by Yuri_Gv on Jun 22, 2017
Latest reply on Jun 25, 2017 by Yuri_Gv
I need to create a composite symbol based on bitmap and text, which should be in the lower right corner of the bitmap. When creating a symbol with standard text, the text is inserted into the center. How to put it in the lower right corner?

PictureMarkerSymbol _ps = new PictureMarkerSymbol(new Uri(pathStr));
var textsymbol = new TextSymbol()

HorizontalAlignment = Esri.ArcGISRuntime.Symbology.HorizontalAlignment.Right,
VerticalAlignment = Esri.ArcGISRuntime.Symbology.VerticalAlignment.Bottom,

Text = count.ToString(),
FontFamily = "Arial",
Size = 9,
Color = Colors.Red,
FontStyle = Esri.ArcGISRuntime.Symbology.FontStyle.Oblique

Symbol symbol = csymbol;