<?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: Freehand draw mode may not be working in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/freehand-draw-mode-may-not-be-working/m-p/660949#M16945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: lgarcia3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I got my answer (partially at least) after using the debugger and seeing the DraxComplete event handler. from the line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
myDrawObject_DrawComplete(object sender, DrawEventArgs args)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The args object contains the geometry which in my case is a Polyline. When I see the polyline, it may have up to 500 lines that make the geometry. This geometry also has an extent which is what I am processing... and in that case, yes, the result is a rectangle/square kind of thing; not the exact shape I was hoping for. So, point being how can I convert this to a shape that I can process and find only the markers inside it so I can mark them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 03:58:22 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-12-12T03:58:22Z</dc:date>
    <item>
      <title>Freehand draw mode may not be working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/freehand-draw-mode-may-not-be-working/m-p/660948#M16944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using a Draw object to allow my clients to mark some graphics on a map. I set up the draw mode to work as DrawMode.Freehand. The idea is to allow the client to draw a freehand shape on tight spaces (clutter graphics) so they can select what they are interested in. Of course the result is an asymmetric polygon. Now, I have noticed that when I process the DrawComplete event I may not end up exactly with the graphics I had "lasso." It looks more like if the geometry was interpreted as a rectangle. Please, take a look at the pictures I am attaching and let me know if I need to do any other setting to process my event correctly. In the pictures you can see the difference between what I selected (with the freehand drawing) and what ended up selected (in green).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If there is an example of this somewhere, please, let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 19:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/freehand-draw-mode-may-not-be-working/m-p/660948#M16944</guid>
      <dc:creator>LuisGarcia2</dc:creator>
      <dc:date>2013-06-11T19:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Freehand draw mode may not be working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/freehand-draw-mode-may-not-be-working/m-p/660949#M16945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: lgarcia3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I got my answer (partially at least) after using the debugger and seeing the DraxComplete event handler. from the line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
myDrawObject_DrawComplete(object sender, DrawEventArgs args)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The args object contains the geometry which in my case is a Polyline. When I see the polyline, it may have up to 500 lines that make the geometry. This geometry also has an extent which is what I am processing... and in that case, yes, the result is a rectangle/square kind of thing; not the exact shape I was hoping for. So, point being how can I convert this to a shape that I can process and find only the markers inside it so I can mark them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:58:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/freehand-draw-mode-may-not-be-working/m-p/660949#M16945</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T03:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Freehand draw mode may not be working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/freehand-draw-mode-may-not-be-working/m-p/660950#M16946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried creating a Polygon out of the polyline created with the freehand draw. Still the extent is exactly the same as before. Here is the code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&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; if (args.DrawMode == DrawMode.Freehand) {
&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.Client.Geometry.Polyline polyline = (ESRI.ArcGIS.Client.Geometry.Polyline)args.Geometry;
&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; ESRI.ArcGIS.Client.Geometry.Polygon polygon = new ESRI.ArcGIS.Client.Geometry.Polygon();
&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; polygon.Rings = polyline.Paths;
&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.Client.Geometry.Envelope envelope= polygon.Extent;
&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, (please, correct me if I am wrong and there is a different way I don't know) that tells me that for this to work the way I intend it there has to be a different Envelope object that accepts polygons??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/freehand-draw-mode-may-not-be-working/m-p/660950#M16946</guid>
      <dc:creator>LuisGarcia2</dc:creator>
      <dc:date>2021-12-12T03:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Freehand draw mode may not be working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/freehand-draw-mode-may-not-be-working/m-p/660951#M16947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: lgarcia3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found something &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/ArcGISEngine/java/Gp_ToolRef/geoprocessing/proximity_analysis.htm"&gt;HERE&lt;/A&gt;&lt;SPAN&gt; about buffer areas that look similar to what I want to do. Any one familiar with this buffer area? Anyone knows if this could help me solve my problem? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 14:12:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/freehand-draw-mode-may-not-be-working/m-p/660951#M16947</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-06-28T14:12:37Z</dc:date>
    </item>
  </channel>
</rss>

