<?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 Re: Can I add a title and the legend when perform the print function? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99797#M2482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You mentioned in the webpage that ArcGISDynamicMapService layers don't print when the output size is greater than A2, which means that I cannot print our the A4 if I use the dynamic mapservice right?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I meant that the issue was with greater size than A2, so A4 and A3 is OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, I am wondering if this limitation has not been fixed, I will have to retest with the latest version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Also, I have a question related to the codes. I cannot add this line to my codes...&lt;BR /&gt;using ESRI.ArcGIS.Client.Samples.MapPrinting;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to build the MapPrintingControls project and, in your project, you have to add a reference to MapPrintingControls.dll.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;and same with these three namespaces. &lt;BR /&gt;xmlns:userControls="clr-namespace:MapPrinting.UserControls"&lt;BR /&gt;xmlns:controls="clr-namespace:ESRI.ArcGIS.Client.Samples.MapPrinting;a ssembly=MapPrintingControls"&lt;BR /&gt;xmlns:actions="clr-namespace:MapPrinting.Actions"&lt;BR /&gt; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess you don't need userControls and actions. xmlns:controls issue will be solved by adding a reference to MapPrintingControls.dll.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Feb 2011 22:08:31 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2011-02-21T22:08:31Z</dc:date>
    <item>
      <title>Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99794#M2479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to add a title and a legend to the map that I want to print? Right now I am able to print MyMap by using silverlight API. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, right now, after hitting the print button, it will pop-up a window to choose the printer. I want to add a title to the map manually before this window popping up. Also the map should include the legend of the map with line shape (it represents...) and symbol (it represents....).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont know whether it is possible for silverlight by using API. Any suggestions? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 18:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99794#M2479</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2011-02-21T18:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99795#M2480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;Is there a way to add a title and a legend to the map that I want to print?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Sure. Instead of printing directly the map, you have to print a panel containing the map and any controls such as the legend control.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a print sample here : &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=e361c2cc69784fcba34358d0458f66e3"&gt;http://www.arcgis.com/home/item.html?id=e361c2cc69784fcba34358d0458f66e3&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;With this sample you can print the legend (e.g. &lt;/SPAN&gt;&lt;A href="http://broux.dominique.free.fr/Silverlight/MapPrinting/TourdeFrance2010WithLegend.pdf"&gt;print result with legend&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 19:27:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99795#M2480</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-02-21T19:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99796#M2481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Sure. Instead of printing directly the map, you have to print a panel containing the map and any controls such as the legend control.&lt;BR /&gt; &lt;BR /&gt;There is a print sample here : &lt;A href="http://www.arcgis.com/home/item.html?id=e361c2cc69784fcba34358d0458f66e3"&gt;http://www.arcgis.com/home/item.html?id=e361c2cc69784fcba34358d0458f66e3&lt;/A&gt;&lt;BR /&gt;With this sample you can print the legend (e.g. &lt;A href="http://broux.dominique.free.fr/Silverlight/MapPrinting/TourdeFrance2010WithLegend.pdf"&gt;print result with legend&lt;/A&gt;).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Dominique! You mentioned in the webpage that ArcGISDynamicMapService layers don't print when the output size is greater than A2, which means that I cannot print our the A4 if I use the dynamic mapservice right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I have a question related to the codes. I cannot add this line to my codes...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using ESRI.ArcGIS.Client.Samples.MapPrinting;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and same with these three namespaces. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:userControls="clr-namespace:MapPrinting.UserControls"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:controls="clr-namespace:ESRI.ArcGIS.Client.Samples.MapPrinting;assembly=MapPrintingControls"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:actions="clr-namespace:MapPrinting.Actions"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How should I add these namespaces? Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 21:11:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99796#M2481</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2011-02-21T21:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99797#M2482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You mentioned in the webpage that ArcGISDynamicMapService layers don't print when the output size is greater than A2, which means that I cannot print our the A4 if I use the dynamic mapservice right?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I meant that the issue was with greater size than A2, so A4 and A3 is OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, I am wondering if this limitation has not been fixed, I will have to retest with the latest version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Also, I have a question related to the codes. I cannot add this line to my codes...&lt;BR /&gt;using ESRI.ArcGIS.Client.Samples.MapPrinting;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to build the MapPrintingControls project and, in your project, you have to add a reference to MapPrintingControls.dll.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;and same with these three namespaces. &lt;BR /&gt;xmlns:userControls="clr-namespace:MapPrinting.UserControls"&lt;BR /&gt;xmlns:controls="clr-namespace:ESRI.ArcGIS.Client.Samples.MapPrinting;a ssembly=MapPrintingControls"&lt;BR /&gt;xmlns:actions="clr-namespace:MapPrinting.Actions"&lt;BR /&gt; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess you don't need userControls and actions. xmlns:controls issue will be solved by adding a reference to MapPrintingControls.dll.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 22:08:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99797#M2482</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-02-21T22:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99798#M2483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You have to build the MapPrintingControls project and, in your project, you have to add a reference to MapPrintingControls.dll.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Dominique! Can I just copy the MapPrintingControls folder to my project folder and add the MapPrintingControls project into my project? When I did this, but I cannot find the MapPrintingControls.dll from the "add reference"...there seems no option like this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 23:41:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99798#M2483</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2011-02-21T23:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99799#M2484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;Can I just copy the MapPrintingControls folder to my project folder and add the MapPrintingControls project into my project?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, you can. In this case, in the add reference dialog box, you have to use the 'Projects' option.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 06:12:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99799#M2484</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-02-22T06:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99800#M2485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, you can. In this case, in the add reference dialog box, you have to use the 'Projects' option.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you! I added this reference successfully &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if I dont add this assembly: xmlns:userControls="clr-namespace:MapPrinting.UserControls"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot use the userControls:windowPanel which represents the MapPrinter Dialog Panel.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 01:29:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99800#M2485</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2011-02-23T01:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99801#M2486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dominique! Thanks for providing the SL4 PDF print functionality sample. It looks to be most useful to a widespread audience. And I have enjoyed some success in accessing it through my web mapping application. I have successfully compiled the code you provided. Following your instructions in the README file I was able to include a reference to the 'MapPrintingControls.dll' from the build and add some assembly references to get it up and running in my application. The end-user was quite pleased. And, of course, asked for more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read through the forum threads to find out how to customize the code to include a title and a legend on the map printout. I was able to add user-defined address and title fields to the map printout by customizing your code in the 'MapPrinterDialog.theme.xaml' file and including additional textbox entries on the dialog panel. And rebuilding the code in your sample.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also attempting to add a legend to the map printout by customizing the code in the 'MapPrinter.theme.xaml' file. However, I am not having much success. When I attempt to add the legend tags &amp;lt;esri:Legend&amp;gt;&amp;lt;/esri:Legend&amp;gt; the intellisense complains that the control is not recognized and to check my assembly references. I added the following to the top of the 'MapPrinter.theme.xaml' file. The 'ESRI.ArcGIS.Client.Toolkit' has been added to the references in your project. This may be a no-brainer but I have to admit I am stumped as to what the problem is. Am I doing this in the wrong place?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I may be misunderstanding how to implement the addition of a legend on the PDF map printout, so please inform me if I am not attempting to do this the right way. And do please let me know how to go about doing this correctly. I have no problem implementing a dynamic legend in my web mapping application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The platform I am running is SL4 with ArcGIS API for Microsoft Silverlight/WPF v2.1 on the client-side, and ArcGIS 10 w/SP1 on the server side to read the legend dynamically in my application. The application I am calling your 'MapPrintingControls.dll' from is developed using VB.NET and not C#. Since this is a dll this should not effect anything. But it means I am unable to include the 'MapControls' folder within my VB project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I doing wrong? Your help in regard to this matter is much appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 19:27:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99801#M2486</guid>
      <dc:creator>ElizabethPianta</dc:creator>
      <dc:date>2011-03-25T19:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99802#M2487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Elizabeth,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your nice comments about the sample.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Concerning the legend, it's for sure possible to add a legend to the map printout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not mandatory to change the MapPrintingControls project and the MapPrinter.Theme.xaml file. You can do it in your application project by defining a new style for the MapPrinter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you look at the sample, there is a 'WithLegend' map printer style defined in MainPage.xaml?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That being said if &amp;lt;esri/legend&amp;gt; is not recognized, it looks more like a project reference issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the legend control has been introduced with version 2.1 of the API and is&amp;nbsp; not available with previous versions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which ArcGIS SL version are you using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 09:47:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99802#M2487</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-03-28T09:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99803#M2488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good Morning Dominique!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your response. I am remote logging into another pc which is running the development environment which includes Silverlight 4, MS Visual Studio 2010, and ArcGIS API for Microsoft Silverlight/WPF v2.1 because I do not have all of these platform requirements installed on my pc. However, I do not believe this is the problem because I am able to create a dynamic legend in a small test application in this development environment. The dynamic legend displays the symbology swatches as expected. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I included your MapPrinter dll in this simple test application, which pops up the MapPrinter dialog box when the 'Print PDF' button is selected. I am able to print out a map from the MapPrinter dialog box. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your suggestion to review the code in your sample's MainPage.xaml file. If I am understanding the sample code correctly, it looks like the following code in my project application's MainPage.xaml file defaults to use the "Basic" style for the MapPrinter control that you created since I have not defined a style:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userControls:WindowPanel x:Name="PrintDialogPanel" ContentTitle="PDF Printing"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Collapsible="False" Closable="True" Minimized="False" Visibility="Collapsed"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;controls:MapPrinterDialog Height="410" Width="340"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;controls:MapPrinter x:Name="mapPrinter" Map="{Binding ElementName=MyMap}" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/controls:MapPrinterDialog&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/userControls:WindowPanel&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I reference the "WithLegend" style in my code above so that the default style "Basic" is not used?&amp;nbsp; I would indeed like to include a legend on the map printout. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your guidance and help on this matter.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2011 19:31:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99803#M2488</guid>
      <dc:creator>ElizabethPianta</dc:creator>
      <dc:date>2011-03-30T19:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99804#M2489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After having defined the 'WithLegend' style in the resources of your control, you can set the style of the MapPrinter in XAML:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;userControls:WindowPanel x:Name="PrintDialogPanel" ContentTitle="PDF Printing" Collapsible="False" Closable="True" Minimized="False" Visibility="Collapsed"&amp;gt;
&amp;lt;controls:MapPrinterDialog Height="410" Width="340"&amp;gt;
&amp;lt;controls:MapPrinter x:Name="mapPrinter" Map="{Binding ElementName=MyMap}" &lt;SPAN style="color: red; font-size: 2;"&gt;Style="{StaticResource WithLegend}"/&lt;/SPAN&gt;&amp;gt;
&amp;lt;/controls:MapPrinterDialog&amp;gt;
&amp;lt;/userControls:WindowPanel&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:12:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99804#M2489</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-11T06:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99805#M2490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that worked! I actually figured it out right after I posted the thread to you... and then felt ridiculous and rather embarassed for asking such a basic question:o &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My swatches are indeed printing out on the legend now. Yoohoo!!! I have one last question to pose to you. I need to add datatables to the map printout as well. What is the best way to go about doing this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you again Dominique for the wonderful sample of the PDF print functionality that you have shared with the rest of the GIS community. Also, thank you very much for the prompt and efficient support that you have provided online for the developers. All your time and efforts are greatly appreciated:) Merci beaucoup!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 14:13:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99805#M2490</guid>
      <dc:creator>ElizabethPianta</dc:creator>
      <dc:date>2011-03-31T14:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99806#M2491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I never heard back on this issue. Can I also add a datagrid to the silverlight map printout when performing the print function?:(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 14:43:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99806#M2491</guid>
      <dc:creator>ElizabethPianta</dc:creator>
      <dc:date>2011-04-21T14:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99807#M2492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,May you help me with the MapPrinterDialog?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I copy your the MapPrinterControl reference, WindowPanel.xaml and WindowPanel.xaml.cs to my own application, then I add these mark code in my xaml file&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;mapControl:WindowPanel x:Name="MapPrinterDialogPanel" Width="340" Height="405"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IsOpen="True" Visibility ="Collapsed"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,60,10,0"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Printcontrols:MapPrinterDialog x:Name="MapPrinterDialog" Background="{StaticResource CommonBackgroundBrush}" Grid.Row="1"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Printcontrols:MapPrinter x:Name="mapPrinterWithDialog" Map="{Binding ElementName=MyMap}" Title="�?��?�" PageChanged="mapPrinter_PageChanged"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IsScaleFixed="True" Scale="2000000" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Printcontrols:MapPrinterDialog&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mapControl:WindowPanel.ContentTitle&amp;nbsp; &amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;StackPanel Orientation="Horizontal" Height="20"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Image x:Name="prtDlgTitle"&amp;nbsp; Stretch="Fill" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Width="20" Height="20" Margin="5,0" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TextBlock Foreground="White" FontSize="12" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text="print" TextWrapping="NoWrap" VerticalAlignment="Center" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/StackPanel&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/mapControl:WindowPanel.ContentTitle&amp;gt;
&amp;nbsp; &amp;lt;/mapControl:WindowPanel&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In the sample, the WindowPanel.ContentTitle&amp;nbsp; is show, but in my application,the Title seems be workless. Can you tell where I should modify to show the contenttitle? Many thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: My Application can work,print map, It is just unable to show the title and&amp;nbsp; to be dragged!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:12:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99807#M2492</guid>
      <dc:creator>AmyAi</dc:creator>
      <dc:date>2021-12-11T06:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can I add a title and the legend when perform the print function?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99808#M2493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe you forgot to add WindowsPanel.xaml as ResourceDictionary in Themes/generic.xaml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 12:17:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/can-i-add-a-title-and-the-legend-when-perform-the/m-p/99808#M2493</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-08-30T12:17:40Z</dc:date>
    </item>
  </channel>
</rss>

