Demo version help

2 posts, 0 answers
  1. Rob
    Rob avatar
    1 posts
    Member since:
    Dec 2011

    Posted 14 Dec 2011 Link to this post

    I just dowloaded the trail version Telerik. I was able to create a RadGrid and export it to Excel, Now I'm exporting it to PDF can I change the page size (landscape) and font size in the button click event I have below if so how? Thanks


    Protected Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
            For Each item As GridDataItem In RadGrid1.Items
                item.Style("background-color") = "#FFFFFF"
            RadGrid1.MasterTableView.BorderStyle = BorderStyle.None
            Dim fileName As String = "myExceltest.pdf"
        End Sub




  2. Daniel
    Daniel avatar
    4949 posts

    Posted 16 Dec 2011 Link to this post

    Hello Rob,

    You can change the page orientation by specifying the page width and height manually. The default font could be set via the DefaultFontFamily property.
    For more information, please visit the following page:
    PDF export

    Best regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top