<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Display simple line under a layer in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/display-simple-line-under-a-layer/m-p/1139835#M7717</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;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 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dylanamaro_0-1643812899929.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32937iD763413FD887E072/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dylanamaro_0-1643812899929.png" alt="dylanamaro_0-1643812899929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My background is :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dylanamaro_1-1643813084913.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32939i84354156AB8A5A54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dylanamaro_1-1643813084913.png" alt="dylanamaro_1-1643813084913.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the code for that is :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;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
                    }
                };&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 08:29:08 GMT</pubDate>
    <dc:creator>dylanamaro</dc:creator>
    <dc:date>2022-02-03T08:29:08Z</dc:date>
    <item>
      <title>Display simple line under a layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/display-simple-line-under-a-layer/m-p/1139835#M7717</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;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 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dylanamaro_0-1643812899929.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32937iD763413FD887E072/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dylanamaro_0-1643812899929.png" alt="dylanamaro_0-1643812899929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My background is :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dylanamaro_1-1643813084913.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/32939i84354156AB8A5A54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dylanamaro_1-1643813084913.png" alt="dylanamaro_1-1643813084913.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the code for that is :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;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
                    }
                };&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 08:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/display-simple-line-under-a-layer/m-p/1139835#M7717</guid>
      <dc:creator>dylanamaro</dc:creator>
      <dc:date>2022-02-03T08:29:08Z</dc:date>
    </item>
  </channel>
</rss>

