| Products: ArcView: VB6 Platforms: WindowsRequires: An Edit Session.Minimum ArcGIS Release: 9.0 |
How to use:
- Register the dll on your machine.
- Run Categories.exe and register the dll under the 'ESRI Editor Extensions' component category.
- Start ArcMap and add line and point data to the map.
- If you have not already done so, set the symbology for your point layer to support rotation by a field (select the Advanced->Rotation option when setting your point symbology and specify the field to hold the rotation angle).
- Start editing and set your snapping environment to include snapping to the edges of your line layer.
- Add a new feature to your point layer and snap it to the line layer. The symbol should automatically rotate to match the orientation of the line.
| RotateSymbol.cls | Class file containing symbol rotation code. |
Download the files for all languages
Key CoClasses:FeatureSnap, SimpleRenderer
Key Interfaces: IFeatureSnapAgent, IRotationRenderer, ISegment
Key Members:IFeatureSnapAgent::HitType, IFeatureSnapAgent::FeatureCache, IRotationRenderer::RotationField, ISegment::FromPoint, ISegment::ToPoint
