diana31

Place Label at specified angles in a Point

Discussion created by diana31 on May 6, 2011
Latest reply on May 9, 2011 by diana31
Hi again! I want to place a label at specified angles in a Point but I do not know how to do it.

I am using
IBasicOverposterLayerProperties4 pBasic; 


I tried using:
pBasic.setPointPlacementAngles(90);                 


And:

pBasic.setPointPlacementMethod(esriOverposterPointPlacementMethod.esriSpecifiedAngles);


But I can not get work this, this show me an exception:
AutomationException: 0x80070057 - The hook has not yet been set into the CommandPool in 'esriControls.CommandPool.1'
 at com.esri.arcgis.carto.BasicOverposterLayerProperties.setPointPlacementAngles(Unknown Source)


I will really appreciate your help :)

Outcomes