Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.8
|
Leadtools.Medical.Workstation.Commands Namespace > Store3DVolumeCommand Class : DoCanExecute Method |
protected override bool DoCanExecute()
'Declaration Protected Overrides Function DoCanExecute() As Boolean
'Usage Dim instance As Store3DVolumeCommand Dim value As Boolean value = instance.DoCanExecute()
protected: bool DoCanExecute(); override
protected: bool DoCanExecute(); override
The method will check for a registered instances of the Leadtools.Medical.Workstation.DataAccessLayer.IWorkstationDataAccessAgent and Leadtools.Medical.Storage.DataAccessLayer.IStorageDataAccessAgent in the Services
The ActiveHostViewer must contains a Leadtools.Medical.Workstation.UI.VolumeViewer with a type other than Medical3DVolumeType.SSD.
The Leadtools.Medical.Workstation.UI.VolumeViewer must NOT have an ID in the Leadtools.Medical.Workstation.WorkstationState.Medical3DControlDataId collection.
The Leadtools.Medical.Workstation.UI.VolumeViewer must have a valid value in the Leadtools.Medical.Workstation.WorkstationState.Medical3DControlInstances collection.