Error processing SSI file
LEADTOOLS Medical (Leadtools.MedicalViewer assembly)

Show in webframe

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,    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

See Also

Reference

MedicalViewerBaseCell Class
MedicalViewerBaseCell Members

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