combit List & Label 29 - .NET Help
combit.Reporting.Dom Namespace / PropertyFont Class / SetFont Method
The Font instance to use as reference.


In This Topic
    SetFont Method
    In This Topic

    Sets the font properties according to the passed Font instance. The following members are copied:

    • Bold
    • Italic
    • Strikeout
    • Underline
    • GdiCharSet
    • FaceName
    • Size
    Syntax
    'Declaration
     
    
    Public Sub SetFont( _
       ByVal newFont As Font _
    ) 
    public void SetFont( 
       Font newFont
    )
    public:
    void SetFont( 
       Font^ newFont
    ) 

    Parameters

    newFont
    The Font instance to use as reference.
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also