VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfDrawingFont Class / PdfDrawingFont Constructor(PdfFont,Single)
Syntax Exceptions Requirements SeeAlso
In This Topic
    PdfDrawingFont Constructor(PdfFont,Single)
    In This Topic
    Initializes a new instance of the PdfDrawingFont class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal font
    The PDF font.
    As Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont, _
    ByVal size
    The font size in the world space units.
    As Single _
    )

    Parameters

    font
    The PDF font.
    size
    The font size in the world space units.
    Exceptions
    ExceptionDescription
    Thrown if font is null.
    Thrown if size is less than 0.
    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