←Select platform

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 Leadtools.Medicalviewer.MedicalViewerActionType, _ 
   ByVal annotationObjectType As Type _ 
)  
             
            public: 
void DeclareActionAsAnnotation(  
   Leadtools.Medicalviewer.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly