Leadtools.MedicalViewer Namespace > MedicalViewerBaseCell Class : DeclareActionAsAnnotation Method |
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 )
Before declaring the action, add the action using the AddAction method.
The custom action value must be larger than 100.