AnsweredAssumed Answered

Graphics layer: element placement

Question asked by helenchu on Sep 13, 2020
Latest reply on Sep 16, 2020 by helenchu

Hi

I'm trying to have an element placed at the bottom left corner of the selected feature but can't figure out how to do it.  I can place it at the center of the polygon fine but not at any other positions.  Your help is much appreciated.

 

while (foundCursor.MoveNext())
{
using (var row = foundCursor.Current)
{
var shape = row as Feature;
var poly = shape.GetShape() as Polygon;
myLabelGraphic.Shape = poly.Extent;
myLabelGraphic.Placement = Anchor.BottomLeftCorner;

 

}

Outcomes