DeclareActionAsAnnotation Method

Summary

Declares the custom action sent as annotation action.

Syntax
C#
VB
C++
public void DeclareActionAsAnnotation( 
   MedicalViewerActionType action, 
   Type annotationObjectType 
) 
  
Public Sub DeclareActionAsAnnotation( _ 
   ByVal action As MedicalViewerActionType, _ 
   ByVal annotationObjectType As Type _ 
)  
            public: 
void DeclareActionAsAnnotation(  
   MedicalViewerActionType action, 
   Type^ annotationObjectType 
)  

Parameters

action
the custom action index that will be identified as a custom annotation action.

annotationObjectType
the type of the custom annotation object, you can retrieve this value by using typeof().

Remarks

Before declaring the action, add the action using the AddAction method.

The custom action value must be larger than 100.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly