<?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: Move Representation marker symbol in ArcObjects (C#.Net) in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/move-representation-marker-symbol-in-arcobjects-c/m-p/686751#M18459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you set up your representation's geometry editing behavior to use Override geometry, you can set IRepresentation.Shape to the modified geometry, then call IRepresentation.UpdateFeature() and finally call IFeature.Store().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 15:56:32 GMT</pubDate>
    <dc:creator>JeffMatson</dc:creator>
    <dc:date>2018-06-14T15:56:32Z</dc:date>
    <item>
      <title>Move Representation marker symbol in ArcObjects (C#.Net)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/move-representation-marker-symbol-in-arcobjects-c/m-p/686748#M18456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;I am working on representation movement tool. In my project I want to move representation symbol (Only move representation symbol not feature geometry) within 15 feet from 3 way or 4 way junction. I got representation feature but I have searched option for representation moment in Arc Objects C#.Net. Please help me for my problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: medium; font-family: Calibri;"&gt;&lt;STRONG style="color: #1f497d;"&gt;IRepresentation Interface &lt;/STRONG&gt;&lt;SPAN style="color: #1f497d;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="http://edndoc.esri.com/arcobjects/9.2/ComponentHelp/esriGeoDatabase/IRepresentation.htm"&gt;&lt;SPAN style="color: #0563c1; text-decoration: underline; font-size: medium; font-family: Calibri;"&gt;http://edndoc.esri.com/arcobjects/9.2/ComponentHelp/esriGeoDatabase/IRepresentation.htm&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #1f497d; font-size: medium; font-family: Calibri;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/405157_cal.jpg" /&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;After Getting Representation feature how to get and move Representation marker symbol in arcobjects:&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IFeatureLayer&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; sysVal_layer = &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;FeatureLayerClass&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;sysVal_layer.FeatureClass = SystemValve;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;double&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; scale = 9600;&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; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IMapContext&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; pMapCText = &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;MapContextClass&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IGeoFeatureLayer&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; pGFlayer = sysVal_layer &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IGeoFeatureLayer&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IGeoDataset&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; pgeodSet = sysVal_layer &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IGeoDataset&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;pMapCText.Init(pgeodSet.SpatialReference, scale, pgeodSet.Extent);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; (cnt == 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; text-indent: 0.5in;"&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; (pGFlayer.Renderer &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IRepresentationRenderer&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&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;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;/SPAN&gt;&lt;SPAN style="background: white; color: green; font-size: 9.5pt;"&gt;//Get Representation from feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IRepresentationRenderer&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; prepReder = pGFlayer.Renderer &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IRepresentationRenderer&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IRepresentationClass&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; pRepCl = prepReder.RepresentationClass;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IRepresentation&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; RepreFeature = pRepCl.GetRepresentation(valveF, pMapCText);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; (RepreFeature.Shape.GeometryType == &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;esriGeometryType&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;.esriGeometryPoint)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; text-indent: 0.5in;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IGraphicAttributes&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; graphicAtt = pRepCl.GraphicAttributes &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="background: white; color: #2b91af; font-size: 9.5pt;"&gt;IGraphicAttributes&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-size: 9.5pt;"&gt;int&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-size: 9.5pt;"&gt; RuleID = RepreFeature.RuleID;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 04:38:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/move-representation-marker-symbol-in-arcobjects-c/m-p/686748#M18456</guid>
      <dc:creator>SatyanarayanaChallaboyana</dc:creator>
      <dc:date>2018-04-30T04:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Move Representation marker symbol in ArcObjects (C#.Net)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/move-representation-marker-symbol-in-arcobjects-c/m-p/686749#M18457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team any one can help me for getting representation marker symbol in C#.Net ArcObjects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 03:57:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/move-representation-marker-symbol-in-arcobjects-c/m-p/686749#M18457</guid>
      <dc:creator>SatyanarayanaChallaboyana</dc:creator>
      <dc:date>2018-05-02T03:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Move Representation marker symbol in ArcObjects (C#.Net)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/move-representation-marker-symbol-in-arcobjects-c/m-p/686750#M18458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Not sure I understand your question with the information provided.&lt;/DIV&gt;&lt;DIV&gt;Below an example how to modify the X/Y-Offset of the "On Point" Marker Placement of a Marker:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;// get RepresentationRule for current Representation
IRepresentationRule rule = repClass.RepresentationRules.Rule[representation.RuleID];

// assume that RuleLayer 0 is the Marker
IBasicMarkerSymbol basicMarkerSymbol = rule.Layer[0] as IBasicMarkerSymbol;

// get GraphicAttributes of the Marker
IGraphicAttributes attributes = basicMarkerSymbol.MarkerPlacement as IGraphicAttributes;

// on the Representation set value for X/Y-Offset
representation.set_Value(attributes, esriMarkerPlacementAttributes.esriGAOnPointXOffset, 5);
representation.set_Value(attributes, esriMarkerPlacementAttributes.esriGAOnPointYOffset, 5);&lt;/PRE&gt;&lt;DIV&gt;&lt;BR /&gt;Not sure if this is the right approach, though. Depending on data and symbology it will be entirely different&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:47:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/move-representation-marker-symbol-in-arcobjects-c/m-p/686750#M18458</guid>
      <dc:creator>MarkusBedel</dc:creator>
      <dc:date>2021-12-12T16:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Move Representation marker symbol in ArcObjects (C#.Net)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/move-representation-marker-symbol-in-arcobjects-c/m-p/686751#M18459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you set up your representation's geometry editing behavior to use Override geometry, you can set IRepresentation.Shape to the modified geometry, then call IRepresentation.UpdateFeature() and finally call IFeature.Store().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 15:56:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/move-representation-marker-symbol-in-arcobjects-c/m-p/686751#M18459</guid>
      <dc:creator>JeffMatson</dc:creator>
      <dc:date>2018-06-14T15:56:32Z</dc:date>
    </item>
  </channel>
</rss>

