Version

DrawText(StringBuilder,String,Int32,String) Method

Append to output string html that will render text.
Syntax
'Declaration
 
Protected Overloads Overridable Sub DrawText( _
   ByVal str As StringBuilder, _
   ByVal txt As String, _
   ByVal image As Integer, _
   ByVal padding As String _
) 
protected virtual void DrawText( 
   StringBuilder str,
   string txt,
   int image,
   string padding
)

Parameters

str
Output text
txt
Text for button
image
Length of image url. If it is negative, then use block, which will put image in new line.
padding
Location of space between image and text such as "left", "top", etc.
Requirements

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