LEADTOOLS Medical (Leadtools.MedicalViewer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
SetTitlebarIconState Method
See Also 
Leadtools.MedicalViewer Namespace > MedicalViewerMultiCell Class : SetTitlebarIconState Method



subCellIndex
The zero-based index of the sub-cell that contains the targeted icon.
iconIndex
Index of the icon to be checked un-checked.
status
The new status of the icon.

The SetTitlebarIconState Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

subCellIndex
The zero-based index of the sub-cell that contains the targeted icon.
iconIndex
Index of the icon to be checked un-checked.
status
The new status of the icon.
Checks or un-checks the specified icon.

Syntax

Visual Basic (Declaration) 
Public Sub SetTitlebarIconState( _
   ByVal subCellIndex As Integer, _
   ByVal iconIndex As Integer, _
   ByVal status As MedicalViewerIconStatus _
) 
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerMultiCell
Dim subCellIndex As Integer
Dim iconIndex As Integer
Dim status As MedicalViewerIconStatus
 
instance.SetTitlebarIconState(subCellIndex, iconIndex, status)
C# 
public void SetTitlebarIconState( 
   int subCellIndex,
   int iconIndex,
   MedicalViewerIconStatus status
)
C++/CLI 
public:
void SetTitlebarIconState( 
   int subCellIndex,
   int iconIndex,
   MedicalViewerIconStatus status
) 

Parameters

subCellIndex
The zero-based index of the sub-cell that contains the targeted icon.
iconIndex
Index of the icon to be checked un-checked.
status
The new status of the icon.

Example

For an example, refer to MedicalViewerIcon

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

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