'Declaration
Public Overloads Function DrawStringHtml( _
ByVal As System.String, _
ByVal As System.Drawing.Font, _
ByVal As System.Drawing.Brush, _
ByVal As System.Drawing.RectangleF _
) As System.Integer
public System.int DrawStringHtml(
System.string ,
System.Drawing.Font ,
System.Drawing.Brush ,
System.Drawing.RectangleF
)
Parameters
- text
- HTML string to draw.
- font
- System.Drawing.Font object that defines the appearance and size of the drawn text.
- brush
- System.Drawing.Brush object that defines the color of the drawn text.
- rc
- System.Drawing.RectangleF structure that specifies the location of the drawn text, in points from the top left corner of the page.
Return Value
The offset of the first line that was not printed because it did not fit in the specified rectangle, or the value of System.Int32.MaxValue if the entire string was rendered.
Target Platforms: 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