<?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 How to convert IGeometry to IPolyline in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-convert-igeometry-to-ipolyline/m-p/569790#M15365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to convert IGeometry object to IPolyline. Specifically, IGeometry, that is polygon, and convert its boundary to IPolyline object. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; IPolyline plObject = (IPolyline)IGeometryobject; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but it was failed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do that? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Insu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2012 03:52:53 GMT</pubDate>
    <dc:creator>InsuHong1</dc:creator>
    <dc:date>2012-06-27T03:52:53Z</dc:date>
    <item>
      <title>How to convert IGeometry to IPolyline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-convert-igeometry-to-ipolyline/m-p/569790#M15365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to convert IGeometry object to IPolyline. Specifically, IGeometry, that is polygon, and convert its boundary to IPolyline object. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; IPolyline plObject = (IPolyline)IGeometryobject; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but it was failed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do that? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Insu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 03:52:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-convert-igeometry-to-ipolyline/m-p/569790#M15365</guid>
      <dc:creator>InsuHong1</dc:creator>
      <dc:date>2012-06-27T03:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert IGeometry to IPolyline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-convert-igeometry-to-ipolyline/m-p/569791#M15366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't cast a polygon to a polyline because they aren't the same thing.&amp;nbsp; You need to extract the polygon boundary.&amp;nbsp; You can do this via ITopologicalOperator.Boundary.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 12:21:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-convert-igeometry-to-ipolyline/m-p/569791#M15366</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-06-27T12:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert IGeometry to IPolyline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-convert-igeometry-to-ipolyline/m-p/569792#M15367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. It works!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you. It's great help for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 17:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-convert-igeometry-to-ipolyline/m-p/569792#M15367</guid>
      <dc:creator>InsuHong1</dc:creator>
      <dc:date>2012-06-27T17:33:10Z</dc:date>
    </item>
  </channel>
</rss>

