Question

Is there any way to add an Ellipse object with a static pixel size so it appears on at any zoom level? When adding an ellipse we have to specify a semi_major radius and semi_minor radius in km so we can see the point. We set the pen to have a pixel size but we don't see anything if the semi_major radius and semi_minor radius is too small. We want to keep the size of our ellipse the same size no matter what zoom level/map we are at. Is it possible to do this?

Answer

For fixed size objects, you'll want to use vector symbols rather than an ellipse object.

Use CreateSymbol? and AddSymbol? in ILayer. There is no "AddEllipse?" but there is an AddCircle? or use a series of AddLine? calls to create an ellipse.

Comment

I am able to use AddDotToSymbol? and change color of the symbol using SetPen? and ModifyObject?, but when I used AddCircleToSymbol? I did not see it display on the map no matter what radius I put in. Using AddLineToSymbol? works but when I changed the pen with SetPen? then applied the color change with ModifyObject?, nothing happens.

Any ideas?