Hi!
I have this code from the internet but it didn't work well.
I want to set the margin of the Report Viewer during runtime. Because I have this form to fill up. Instead of handwriting it. I programmed it. But there are certain positions of the textboxes in which it should appear.
My big problem is that how could I set the margin of the Report Viewer to 0?
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim instance As New PageSettings()
Dim value As New Margins(0, 0, 0, 0)
instance.Margins = value
rv242CEWE.SetPageSettings(instance)
Thanks!