Hello,
I did a line on a Background Callout but i want the line to be under the layer and not hover. Can someone help me to find a solution to put it under the layer or something like that ?
![dylanamaro_0-1643812899929.png dylanamaro_0-1643812899929.png](https://community.esri.com/t5/image/serverpage/image-id/32937iD763413FD887E072/image-size/medium?v=v2&px=400)
My background is :
![dylanamaro_1-1643813084913.png dylanamaro_1-1643813084913.png](https://community.esri.com/t5/image/serverpage/image-id/32939i84354156AB8A5A54/image-size/medium?v=v2&px=400)
and the code for that is :
var stroke = new CIMSolidStroke
{
Color = CIMColor.CreateRGBColor(0, 0, 0),
Name = "Black stroke",
Width = 1
};
var fill = new CIMSolidFill
{
Color = CIMColor.CreateRGBColor(0, 0, 0),
Name = "Black fill",
PrimitiveName = "Black fill",
};
CIMLineSymbol myLineSymbol = new CIMLineSymbol
{
SymbolLayers = new[] { (CIMSymbolLayer)stroke, fill }
};
CIMBackgroundCallout backgroundCallout = new CIMBackgroundCallout
{
LeaderLineSymbol = myLineSymbol,
LineStyle = LeaderLineStyle.Base,
BackgroundSymbol = polySymbol,
Gap = 2,
Margin = new CIMTextMargin
{
Left = 8,
Right = 8,
Bottom = 1,
Top = 1
}
};