VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / DrawString Methods / DrawString(DrawingString,PdfFont,Single,Single,Single) Method
Syntax Requirements SeeAlso
In This Topic
    DrawString(DrawingString,PdfFont,Single,Single,Single) Method (PdfGraphics)
    In This Topic
    Draws the specified content codes at the specified location with the current brush and specified PdfFont objects.
    Syntax
    'Declaration
    
    Public Overloads Sub DrawString( _
    ByVal text
    String to draw.
    As Vintasoft.Imaging.Drawing.DrawingString, _
    ByVal font
    PdfFont that defines the text format of the string.
    As Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont, _
    ByVal fontSize
    Font size.
    As Single, _
    ByVal x
    The x-coordinate of the bottom-left corner of the drawn text.
    As Single, _
    ByVal y
    The y-coordinate of the bottom-left corner of the drawn text.
    As Single _
    )

    Parameters

    text
    String to draw.
    font
    PdfFont that defines the text format of the string.
    fontSize
    Font size.
    x
    The x-coordinate of the bottom-left corner of the drawn text.
    y
    The y-coordinate of the bottom-left corner of the drawn text.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also