Version

DrawStringParameters Constructor

Creates a new DrawStringParameters instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal graphics As Graphics, _
   ByVal text As String, _
   ByVal font As Font, _
   ByVal brush As SolidBrush, _
   ByVal layoutBounds As RectangleF, _
   ByVal format As StringFormat, _
   ByVal drawStringFlags As GdiDrawStringFlags, _
   ByVal textOrientation As TextOrientationInfo _
)

Parameters

graphics
The graphics object used to draw or measure the text.
text
The text to draw or measure.
font
The font to use when drawing or measuring the text.
brush
The SolidBrush that determines the color of the drawn text.
layoutBounds
The location and size of the area used to draw or measure the text.
format
The string format used to draw or measure the text.
drawStringFlags
The flags which determine what kind of special consideration, if any, is given to the measuring or drawing of text.
textOrientation
The orientation to use when measuring or drawing the text.
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