Change ReportViewer font at run time

1 posts, 0 answers
  1. Andi
    Andi avatar
    6 posts
    Member since:
    Feb 2020

    Posted 04 Jul 2020 Link to this post

    is it possible to change the font in the ReportViewer at run time ?
    Did it in the RadGridView at run time with the following code and functioned:
    Private Sub RadFontDropDownList1_TextChanged(sender As Object, e As EventArgs) Handles RadFontDropDownList1.TextChanged
    Dim fnt As Font
    fnt = RadGridView1.Font
    RadGridView1.Font = New System.Drawing.Font(RadFontDropDownList1.SelectedFont, RadDropDownList2.Text)
    End Sub
    I would like to change the font in the RadGridView that it also
    in the ReportViewer.
Back to Top