TomLUX

Position TextElement with an AnchorPoint

Discussion created by TomLUX on Feb 24, 2011
Hy,
I want to add an TextElement on my PageLayout.
The position should be done with an AnchorPoint like the attached example from ArcMAP:

Here is my Java code:
        TextElement textElement = new TextElement();
        textElement.setText(txt);
        Point point = new Point();
        point.putCoords(19,20);
        textElement.setGeometry(point);
        textElement.setAnchorPoint(esriAnchorPointEnum.esriTopRightCorner);


All my settings seemed to be ignored.

Thanks in advance,
Schuller Tom

Attachments

Outcomes