LEADTOOLS Medical (Leadtools.Medical.Workstation assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
EnsureSelect Method
See Also 
Leadtools.Medical.Workstation.UI Namespace > MedicalViewerHost Class : EnsureSelect Method




viewer
Type: N:Leadtools.MedicalViewer The N:Leadtools.MedicalViewer which will be selected or unselected.
select
Type: System.Boolean True to make sure that the N:Leadtools.MedicalViewer control is added to the SelectedViewers property; False to remove it if exists.
viewer
Type: N:Leadtools.MedicalViewer The N:Leadtools.MedicalViewer which will be selected or unselected.
select
Type: System.Boolean True to make sure that the N:Leadtools.MedicalViewer control is added to the SelectedViewers property; False to remove it if exists.
Make sure that the provided N:Leadtools.MedicalViewer control is added to or removed from the SelectedViewers

Syntax

Visual Basic (Declaration) 
Protected Sub EnsureSelect( _
   ByVal viewer As MedicalViewer, _
   ByVal select As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerHost
Dim viewer As MedicalViewer
Dim select As Boolean
 
instance.EnsureSelect(viewer, select)
C# 
protected void EnsureSelect( 
   MedicalViewer viewer,
   bool select
)
Managed Extensions for C++ 
protected: void EnsureSelect( 
   MedicalViewer* viewer,
   bool select
) 
C++/CLI 
protected:
void EnsureSelect( 
   MedicalViewer^ viewer,
   bool select
) 

Parameters

viewer
Type: N:Leadtools.MedicalViewer The N:Leadtools.MedicalViewer which will be selected or unselected.
select
Type: System.Boolean True to make sure that the N:Leadtools.MedicalViewer control is added to the SelectedViewers property; False to remove it if exists.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also