Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawString Method / DrawString(String,Font,Single,Color,PointF) Method
The string to draw.
The font.
The font size.
The text color.
The location to draw at.

In This Topic
    DrawString(String,Font,Single,Color,PointF) Method
    In This Topic
    Draws a string using a specified attributes at a specified location.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawString( _
       ByVal text As System.String, _
       ByVal font As Font, _
       ByVal fontSize As System.Single, _
       ByVal foreColor As System.Drawing.Color, _
       ByVal location As System.Drawing.PointF _
    ) 
    public void DrawString( 
       System.string text,
       Font font,
       System.float fontSize,
       System.Drawing.Color foreColor,
       System.Drawing.PointF location
    )

    Parameters

    text
    The string to draw.
    font
    The font.
    fontSize
    The font size.
    foreColor
    The text color.
    location
    The location to draw at.
    See Also