Version

LabelStyle Constructor(Font,Color,Boolean,Boolean,Boolean,StringAlignment,StringAlignment,TextOrientation)

Creates a LabelStyle object based on the properties supplied.
Syntax
'Declaration
 
Public Function New( _
   ByVal font As Font, _
   ByVal color As Color, _
   ByVal wrap As Boolean, _
   ByVal clip As Boolean, _
   ByVal bestFit As Boolean, _
   ByVal h As StringAlignment, _
   ByVal v As StringAlignment, _
   ByVal orient As TextOrientation _
)
public LabelStyle( 
   Font font,
   Color color,
   bool wrap,
   bool clip,
   bool bestFit,
   StringAlignment h,
   StringAlignment v,
   TextOrientation orient
)

Parameters

font
Label font.
color
Label font color.
wrap
Whether label text should wrap, if possible.
clip
Whether label text should be clipped, if possible.
bestFit
Not used.
h
Horizontal alignment of the label text.
v
Vertical alignment of the label text.
orient
What orientation the label text should have, if possible.
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