LEADTOOLS Medical (Leadtools.MedicalViewer assembly)
LEAD Technologies, Inc

DeclareActionAsAnnotation Method






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,
   Windows.UI.Xaml.Interop.TypeName annotationObjectType
)
 function Leadtools.MedicalViewer.MedicalViewerBaseCell.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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MedicalViewerBaseCell Class
MedicalViewerBaseCell Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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