Version

DrawMac9Lines Method

Renders Mac OS9 style caption lines.
Syntax
'Declaration
 
Public Shared Sub DrawMac9Lines( _
   ByVal g As Graphics, _
   ByVal rect As Rectangle, _
   ByVal baseColor As Color, _
   ByVal vertical As Boolean _
) 
public static void DrawMac9Lines( 
   Graphics g,
   Rectangle rect,
   Color baseColor,
   bool vertical
)

Parameters

g
Graphics object to render into
rect
Rectangle indicating where the lines will be rendered
baseColor
Base color to use for the light and dark color lines
vertical
True if the lines are to be rendered vertically
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also