Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal automationManager As AnnAutomationManager, _ ByVal viewer As BitmapSourceViewer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public AnnAutomation( AnnAutomationManager automationManager, BitmapSourceViewer viewer ) |
C++/CLI | |
---|---|
public: AnnAutomation( AnnAutomationManager^ automationManager, BitmapSourceViewer viewer ) |
Parameters
- automationManager
- The manager to which this AnnAutomation object will belong.
- viewer
- The BitmapSourceViewer for this AnnAutomation
For C#/VB examples, refer to AnnAutomationManager.
This constructor creates a new instance of the AnnAutomation class, hooks to the necessary events in viewer to handle the user interface, creates the Container that will hold the annotation objects and finally adds this newly created AnnAutomationObject to the AnnAutomationManager.Automations collection.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family