The following table lists .NET Annotations functions and provides cross-references to their COM counterparts:
| .Net Syntax | COM Interop Syntax | Related Properties |
| event EventHandler<AnnBeforeObjectChangedEventArgs> BeforeObjectChanged() | void OnBeforeObjectChanged( LTDAnnotationsInterop.AnnObjectChangedType changeType, LTDAnnotationsInterop.AnnDesigner designer, ref Boolean cancel); | LTDAnnotationsInterop.IAnnObjectIndexProperty IAnnAutomation.AnnObject, Int32 IAnnAutomation.AnnObjectCount, EnableEvent, DisableEvent |
| LTDAnnotationsInterop.IAnnObjectIndexProperty IAnnAutomation.AnnObject | Int32 IAnnAutomation.AnnObjectCount | |
| Int32 IAnnAutomation.AnnObjectCount | LTDAnnotationsInterop.IAnnObjectIndexProperty IAnnAutomation.AnnObject | |
| event EventHandler<AnnAfterObjectChangedEventArgs> AfterObjectChanged() | void OnAfterObjectChanged( LTDAnnotationsInterop.AnnObjectChangedType changeType, LTDAnnotationsInterop.AnnDesigner designer); | LTDAnnotationsInterop.IAnnObjectIndexProperty IAnnAutomation.AnnObject, Int32 IAnnAutomation.AnnObjectCount, EnableEvent, DisableEvent |
| RasterCollection<AnnAutomation> Automations | LTDAnnotationsInterop.IreadonlyAnnAutomationIndexProperty IAnnAutomationManager.Automations | Int32 IAnnAutomationManager.AutomationsCount |
| Int32 IAnnAutomationManager.AutomationsCount | LTDAnnotationsInterop.IreadonlyAnnAutomationIndexProperty IAnnAutomationManager.Automations | |
| Int32 IAnnAutomationManager.ObjectsCount | LTDAnnotationsInterop.IReadonlyAnnAutomationObjectIndexProperty IAnnAutomationManager.Objects | |
| virtual RasterCollection<AnnObject> Objects | LTDAnnotationsInterop.IReadonlyAnnAutomationObjectIndexProperty IAnnAutomationManager.Objects | Int32 IAnnAutomationManager.ObjectsCount |
| event EventHandler<AnnPaintEventArgs> BeforeDrawingObjects() | void OnBeforeDrawingObjects(Int32 hdc); | |
| event EventHandler<AnnPaintEventArgs> AfterDrawingObjects() | void OnAfterDrawingObjects(Int32 hdc); | |
| virtual RasterCollection<AnnObject> Objects | LTDAnnotationsInterop.IReadonlyAnnObjectIndexProperty IAnnContainer.Objects | Int32 IAnnContainer.ObjectsCount |
| Int32 IAnnContainer.ObjectsCount | LTDAnnotationsInterop.IReadonlyAnnObjectIndexProperty IAnnContainer.Objects | |
| virtual void Draw(Graphics hdc) | void IAnnContainer.Draw(Int32 hdc) | |
| AnnPoint[] GetControlPointsLocation() | void IAnnCrossProductEditDesigner.GetControlPointsLocation() | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnCrossProductEditDesigner.ControlPointsLocation, Int32 IAnnCrossProductEditDesigner.ControlPointsLocationCount |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnCrossProductEditDesigner.ControlPointsLocation | Int32 IAnnCrossProductEditDesigner.ControlPointsLocationCount | |
| Int32 IAnnCrossProductEditDesigner.ControlPointsLocationCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnCrossProductEditDesigner.ControlPointsLocation | |
| AnnControlPointControlPoints | LTDAnnotationsInterop.AnnControlPointIndexProperty IAnnEditDesigner.ControlPoints | Int32 IAnnEditDesigner.ControlPointCount, |
| Int32 IAnnEditDesigner.ControlPointCount | LTDAnnotationsInterop.AnnControlPointIndexProperty IAnnEditDesigner.ControlPoints | |
| AnnPoint[] GetControlPointsLocation() | void IAnnEditDesigner.GetControlPointsLocation() | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnEditDesigner.ControlPointsLocation, Int32 IAnnEditDesigner.ControlPointsLocationCount |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnEditDesigner.ControlPointsLocation | Int32 IAnnEditDesigner.ControlPointsLocationCount | |
| Int32 IAnnEditDesigner.ControlPointsLocationCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnEditDesigner.ControlPointsLocation | |
| AnnPoint[] GetControlPointsLocation() | void IAnnGroupEditDesigner.GetControlPointsLocation() | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnGroupEditDesigner.ControlPointsLocation, Int32 IAnnGroupEditDesigner.ControlPointsLocationCount |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnGroupEditDesigner.ControlPointsLocation | Int32 IAnnGroupEditDesigner.ControlPointsLocationCount | |
| Int32 IAnnGroupEditDesigner.ControlPointsLocationCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnGroupEditDesigner.ControlPointsLocation | |
| AnnPoint[] GetControlPointsLocation() | void IAnnLineEditDesigner.GetControlPointsLocation() | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnLineEditDesigner.ControlPointsLocation, Int32 IAnnLineEditDesigner.ControlPointsLocationCount |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnLineEditDesigner.ControlPointsLocation | Int32 IAnnLineEditDesigner.ControlPointsLocationCount | |
| Int32 IAnnLineEditDesigner.ControlPointsLocationCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnLineEditDesigner.ControlPointsLocation | |
| AnnPoint[] GetControlPointsLocation() | void IAnnPointEditDesigner.GetControlPointsLocation() | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnPointEditDesigner.ControlPointsLocation, Int32 IAnnPointEditDesigner.ControlPointsLocationCount |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnPointEditDesigner.ControlPointsLocation | Int32 IAnnPointEditDesigner.ControlPointsLocationCount | |
| Int32 IAnnPointEditDesigner.ControlPointsLocationCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnPointEditDesigner.ControlPointsLocation | |
| AnnPoint[] GetControlPointsLocation() | void IAnnPolylineEditDesigner.GetControlPointsLocation() | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnPolylineEditDesigner.ControlPointsLocation, Int32 IAnnPolylineEditDesigner.ControlPointsLocationCount |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnPolylineEditDesigner.ControlPointsLocation | Int32 IAnnPolylineEditDesigner.ControlPointsLocationCount | |
| Int32 IAnnPolylineEditDesigner.ControlPointsLocationCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnPolylineEditDesigner.ControlPointsLocation | |
| AnnPoint[] GetControlPointsLocation() | void IAnnProtractorEditDesigner.GetControlPointsLocation() | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnProtractorEditDesigner.ControlPointsLocation, Int32 IAnnProtractorEditDesigner.ControlPointsLocationCount |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnProtractorEditDesigner.ControlPointsLocation | Int32 IAnnProtractorEditDesigner.ControlPointsLocationCount | |
| Int32 IAnnProtractorEditDesigner.ControlPointsLocationCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnProtractorEditDesigner.ControlPointsLocation | |
| AnnPoint[] GetControlPointsLocation() | void IAnnRectangleEditDesigner.GetControlPointsLocation() | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnRectangleEditDesigner.ControlPointsLocation, Int32 IAnnRectangleEditDesigner.ControlPointsLocationCount |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnRectangleEditDesigner.ControlPointsLocation | Int32 IAnnRectangleEditDesigner.ControlPointsLocationCount | |
| Int32 IAnnRectangleEditDesigner.ControlPointsLocationCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnRectangleEditDesigner.ControlPointsLocation | |
| AnnPoint[] GetControlPointsLocation() | void IAnnTextPointerEditDesigner.GetControlPointsLocation() | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTextPointerEditDesigner.ControlPointsLocation, Int32 IAnnTextPointerEditDesigner.ControlPointsLocationCount |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTextPointerEditDesigner.ControlPointsLocation | Int32 IAnnTextPointerEditDesigner.ControlPointsLocationCount | |
| Int32 IAnnTextPointerEditDesigner.ControlPointsLocationCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTextPointerEditDesigner.ControlPointsLocation | |
| void Draw(Graphics graphics, AnnPoint centerPoint, AnnUnitConverter converter) | void IAnnControlPoint.Draw(Int32 hdc, LTDAnnotationsInterop.AnnPoint centerPoint, LTDAnnotationsInterop.AnnUnitConverter converter) | |
| void Draw(Graphics graphics, AnnPoint centerPoint, AnnUnitConverter converter) | void IAnnDottedEllipseControlPoint.Draw(Int32 hdc, LTDAnnotationsInterop.AnnPoint centerPoint, LTDAnnotationsInterop.AnnUnitConverter converter) | |
| AnnPoint[] PointToLogical(AnnPoint[] pts) | void IAnnTransformer.PointToLogical() | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTransformer.LogicalPoints, Int32 IAnnTransformer.LogicalPointsCount, LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTransformer.AnnPoints, Int32 IAnnTransformer.AnnPointsCount |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTransformer.LogicalPoints | Int32 IAnnTransformer.LogicalPointsCount | |
| Int32 IAnnTransformer.LogicalPointsCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTransformer.LogicalPoints | |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTransformer.AnnPoints | Int32 IAnnTransformer.AnnPointsCount | |
| Int32 IAnnTransformer.AnnPointsCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTransformer.AnnPoints | |
| AnnPoint[] PointToPhysical(AnnPoint[] pts) | void IAnnTransformer.PointToPhysical() | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTransformer.PhysicalPoints, Int32 IAnnTransformer.PhysicalPointsCount, LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTransformer.AnnPoints, Int32 IAnnTransformer.AnnPointsCount |
| LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTransformer.PhysicalPoints | Int32 IAnnTransformer.PhysicalPointsCount | |
| Int32 IAnnTransformer.PhysicalPointsCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnTransformer.PhysicalPoints | |
| RasterCollection<AnnObject> Objects | LTDAnnotationsInterop.IAnnObjectIndexProperty IAnnGroupObject.Objects | Int32 IAnnGroupObject.ObjectsCount |
| Int32 IAnnGroupObject.ObjectsCount | LTDAnnotationsInterop.IAnnObjectIndexProperty IAnnGroupObject.Objects | |
| void Draw(Graphics graphics) | void IAnnGroupObject.Draw(Int32 hdc) | |
| void Draw(Graphics graphics) | void IAnnObject.Draw(Int32 hdc) | |
| RasterCollection<AnnPoint> Points | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnPolylineObject.Points | Int32 IAnnPolylineObject.PointsCount |
| Int32 IAnnPolylineObject.PointsCount | LTDAnnotationsInterop.IAnnPointIndexProperty IAnnPolylineObject.Points | |
| AnnObjectsTypes IAnnObject.GetObjectType() | ||
| AnnAudioObject IAnnObject.GetAudioObject(AnnObject obj) | ||
| AnnButtonObject IAnnObject.GetButtonObject(AnnObject obj) | ||
| AnnClosedCurveObject IAnnObject.GetClosedCurveObject(AnnObject obj) | ||
| AnnCrossProductObject IAnnObject.GetCrossProductObject(AnnObject obj) | ||
| AnnCurveObject IAnnObject.GetCurveObject(AnnObject obj) | ||
| AnnEllipseObject IAnnObject.GetEllipseObject(AnnObject obj) | ||
| AnnEncryptObject IAnnObject.GetEncryptObject(AnnObject obj) | ||
| AnnFreehandHotspotObject IAnnObject.GetFreehandHotspotObject(AnnObject obj) | ||
| AnnGroupObject IAnnObject.GetGroupObject(AnnObject obj) | ||
| AnnHiliteObject IAnnObject.GetHiliteObject(AnnObject obj) | ||
| AnnHotspotObject IAnnObject.GetHotspotObject(AnnObject obj) | ||
| AnnImageObject IAnnObject.GetImageObject(AnnObject obj) | ||
| AnnLineObject IAnnObject.GetLineObject(AnnObject obj) | ||
| AnnNoteObject IAnnObject.GetNoteObject(AnnObject obj) | ||
| AnnPointObject IAnnObject.GetPointObject(AnnObject obj) | ||
| AnnPointerObject IAnnObject.GetPointerObject(AnnObject obj) | ||
| AnnPolygonObject IAnnObject.GetPolygonObject(AnnObject obj) | ||
| AnnPolylineObject IAnnObject.GetPolylineObject(AnnObject obj) | ||
| AnnPolyRulerObject IAnnObject.GetPolyRulerObject(AnnObject obj) | ||
| AnnProtractorObject IAnnObject.GetProtractorObject(AnnObject obj) | ||
| AnnRectangleObject IAnnObject.GetRectangleObject(AnnObject obj) | ||
| AnnRedactionObject IAnnObject.GetRedactionObject(AnnObject obj) | ||
| AnnRubberStampObject IAnnObject.GetRubberStampObject(AnnObject obj) | ||
| AnnRulerObject IAnnObject.GetRulerObject(AnnObject obj) | ||
| AnnStampObject IAnnObject.GetStampObject(AnnObject obj) | ||
| AnnTextObject IAnnObject.GetTextObject(AnnObject obj) | ||
| AnnTextPointerObject IAnnObject.GetTextPointerObject(AnnObject obj) | ||
| AnnTextRollupObject IAnnObject.GetTextRollupObject(AnnObject obj) | ||
| AnnDesignersTypes IAnnDesigner.GetDesignerType() | ||
| AnnCrossProductDrawDesigner IAnnDesigner.GetCrossProductDrawDesigner(AnnDesigner designer) | ||
| AnnDrawDesigner IAnnDesigner.GetDrawDesigner(AnnDesigner designer) | ||
| AnnFreehandDrawDesigner IAnnDesigner.GetFreehandDrawDesigner(AnnDesigner designer) | ||
| AnnLineDrawDesigner IAnnDesigner.GetLineDrawDesigner(AnnDesigner designer) | ||
| AnnPointDrawDesigner IAnnDesigner.GetPointDrawDesigner(AnnDesigner designer) | ||
| AnnPolylineDrawDesigner IAnnDesigner.GetPolylineDrawDesigner(AnnDesigner designer) | ||
| AnnProtractorDrawDesigner IAnnDesigner.GetProtractorDrawDesigner(AnnDesigner designer) | ||
| AnnRectangleDrawDesigner IAnnDesigner.GetRectangleDrawDesigner(AnnDesigner designer) | ||
| AnnTextDrawDesigner IAnnDesigner.GetTextDrawDesigner(AnnDesigner designer) | ||
| AnnTextPointerDrawDesigner IAnnDesigner.GetTextPointerDrawDesigner(AnnDesigner designer) | ||
| AnnCrossProductEditDesigner IAnnDesigner.GetCrossProductEditDesigner(AnnDesigner designer) | ||
| AnnEditDesigner IAnnDesigner.GetEditDesigner(AnnDesigner designer) | ||
| AnnGroupEditDesigner IAnnDesigner.GetGroupEditDesigner(AnnDesigner designer) | ||
| AnnLineEditDesigner IAnnDesigner.GetLineEditDesigner(AnnDesigner designer) | ||
| AnnNewGroupEditDesigner IAnnDesigner.GetNewGroupEditDesigner(AnnDesigner designer) | ||
| AnnPointEditDesigner IAnnDesigner.GetPointEditDesigner(AnnDesigner designer) | ||
| AnnPolylineEditDesigner IAnnDesigner.GetPolylineEditDesigner(AnnDesigner designer) | ||
| AnnProtractorEditDesigner IAnnDesigner.GetProtractorEditDesigner(AnnDesigner designer) | ||
| AnnRectangleEditDesigner IAnnDesigner.GetRectangleEditDesigner(AnnDesigner designer) | ||
| AnnTextPointerEditDesigner IAnnDesigner.GetTextPointerEditDesigner(AnnDesigner designer) | ||
| AnnAudioRunDesigner IAnnDesigner.GetAudioRunDesigner(AnnDesigner designer) | ||
| AnnButtonRunDesigner IAnnDesigner.GetButtonRunDesigner(AnnDesigner designer) | ||
| AnnRunDesigner IAnnDesigner.GetRunDesigner(AnnDesigner designer) | ||
| AnnTextRollupRunDesigner IAnnDesigner.GetTextRollupRunDesigner(AnnDesigner designer) | ||
| AnnBaseDesignersTypes IAnnDesigner.GetBaseDesignerType() |
For cross-references between COM functions and their .NET counterparts, refer to the following topic: