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



flag
The System.Windows.Forms.ControlStyles bit to set.
value
true to apply the specified style to the control; otherwise, false.
flag
The System.Windows.Forms.ControlStyles bit to set.
value
true to apply the specified style to the control; otherwise, false.
Sets a specified System.Windows.Forms.ControlStyles flag to either true or false.

Syntax

Visual Basic (Declaration) 
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Protected Sub SetStyle( _
   ByVal flag As ControlStyles, _
   ByVal value As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim flag As ControlStyles
Dim value As Boolean
 
instance.SetStyle(flag, value)
C# 
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
protected void SetStyle( 
   ControlStyles flag,
   bool value
)
C++/CLI 
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
protected:
void SetStyle( 
   ControlStyles flag,
   bool value
) 

Parameters

flag
The System.Windows.Forms.ControlStyles bit to set.
value
true to apply the specified style to the control; otherwise, false.

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.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features