Custom crystal report look

zhaozj2021-02-16  56

1, appearance:

Set the properties of the Crystal Report Viewer:

BestfitPage Boolean. Gets or sets the page view that is appropriate or cropped with a scroll bar.

Set with Width, Height to achieve no blank and non-rolling bar display!

DisplayGroupTree Boolean value. Get or set the tree view is visible or hidden.

DisplayPage Boolean. Get or set the toolbar is visible or hidden.

DisplayToolbar Boolean value. Getting or setting the Turning Toolbar is visible or hidden.

PageZoomfactor Int32. Gets or sets the scaling factor of the report.

SeparatePages. Get or sets the report page whether it is separated or connected.

PageTotreeratio float64. Set the size ratio between the group tree and the report view.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2. Control the button of the toolbar:

Set the properties of the Crystal Report Viewer:

HASGOTOPAGEBUTTON Boolean. Gets or sets the visibility to the page button.

HaslevelUpButton Boolean. Getting or setting up to the top button on the toolbar is visible or hidden.

HaspagenaVigationButtons Boolean. Getting or setting the page navigation button on the toolbar is visible or hidden.

HasRefreshbutton Boolean. Getting or setting the refresh button on the toolbar is visible or hidden.

HassearchButton Boolean. Getting or setting the search button on the toolbar is visible or hidden.

HaszoomfactorList Boolean value. Get or set the scaling factor list on the toolbar is visible or hidden.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

3, layout in the web page:

In the Design View, modify the width of CrystalReportViewer, Height property.

Switch to the "HTML View" of the form to modify the Style property.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

4, company in addition to crystal report LOGO

Replace or delete Crystal's logo file ...

(1) If it is a crystal report from VS.NET

C: / Program Files / Microsoft Visual Studio .NET / CRYSTAL REPORTS / VIEWERS / images / TOOLBAR / LOGO.GIF

(2) If it is a crystal report 9.2

C: / Program Files / Common Files / Crystal Decisions / 2.0 / CrystalReportViewers / Images / Toolbar / CRLOGO.GIF

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

5, replace the various icons and pictures in the crystal report

(1) If it is a crystal report from VS.NET

C: / Program Files / Microsoft Visual Studio .NET / CRYSTAL REPORTS / VIEWERS / images

(2) If it is a crystal report 9.2

转载请注明原文地址:https://www.9cbs.com/read-22496.html

New Post(0)