Crystal Report: Centering Reports in Report View Mode

Looking for a way to centralize a report in a .NET Crystal Reports view control while making the most of the contained form.

+1


a source to share


3 answers


I thought it was centering the report by default? I put crv on the form and set a dock to fill. Actually, I don't know how to get it to not center the report.



0


a source


Set the DOCK property of the view control to FILL.



0


a source


Set the DOCK property of the ReportViewer property to FILL and programmatically set the Maximize property of the form after calling the Show method. If it is installed during development, it doesn't work. Below is a sample code.

Me.rptViewer.Zoom(100) 

Me.rptViewer.Show()

Me.Show()

Me.WindowState = FormWindowState.Maximized

      

0


a source







All Articles