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, Windows.UI.Xaml.Interop.TypeName annotationObjectType )
function Leadtools.MedicalViewer.MedicalViewerBaseCell.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.
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