LEADTOOLS Medical (Leadtools.MedicalViewer assembly)

DeclareActionAsAnnotation Method

Show in webframe





the custom action index that will be identified as a custom annotation action.
the type of the custom annotation object, you can retrieve this value by using typeof().
Declares the custom action sent as annotation action.
Syntax
public void DeclareActionAsAnnotation( 
   MedicalViewerActionType action,
   Type annotationObjectType
)
'Declaration
 
Public Sub DeclareActionAsAnnotation( _
   ByVal action As MedicalViewerActionType, _
   ByVal annotationObjectType As Type _
) 
'Usage
 
Dim instance As MedicalViewerBaseCell
Dim action As MedicalViewerActionType
Dim annotationObjectType As Type
 
instance.DeclareActionAsAnnotation(action, annotationObjectType)

            

            
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.

Example
For an example, please refer to MedicalViewerCustomAnnotationRequestedObject.
Requirements

Target Platforms

See Also

Reference

MedicalViewerBaseCell Class
MedicalViewerBaseCell Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.MedicalViewer requires a Medical Imaging license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features