Introduction to Crystal Report Design

Source: Internet
Author: User
1. Appearance:
Set properties of the crystal report Viewer:
Bestfitpage Boolean value. Obtain or set the page view size or use a scroll bar for cropping. If this parameter is set to false, you can set the width of the Crystal Report viewer to remove the scroll bar. Note: There are two cases, in which problems may occur when printing from the web form Viewer:
The bestfitpage property defaults to "true" (that is, there is no vertical or horizontal scroll bar), but pagezoomfactor is greater than 100.
Bestfitpage is set to "false". The height of the web form viewer is smaller than the height of the Report page (that is, there is a vertical scroll bar), and the width of the viewer is greater than or equal to the width of the Report page (that is, no horizontal scroll bar ).


Set the width and height to display blank and scroll bars!
Displaygrouptree Boolean value. Obtain or set whether the tree view is visible or hidden.
Boolean value of displaypage. Obtain or set whether the toolbar is visible or hidden.
Boolean value of displaytoolbar. Obtain or set whether the Go to page button on the toolbar is visible or hidden.
Pagezoomfactor int32. Obtains or sets the scaling factor of a report.
Separatepages Boolean value. Obtain or set whether the report page is separated or connected.
Pagetotreeratio float64. Set the size ratio between the group tree and the report view.
--------------------------------------
2. buttons on the control toolbar:
Set properties of the crystal report Viewer:
Hasgotopagebutton Boolean value. Gets or sets the visibility of the button to go to the page.
Haslevelupbutton Boolean value. Obtain or set whether the go to previous page button on the toolbar is visible or hidden.
Haspagenavigationbuttons Boolean value. Obtain or set whether the page navigation buttons on the toolbar are visible or hidden.
Boolean value of hasrefreshbutton. Obtain or set whether the refresh button on the toolbar is visible or hidden.
Boolean value of hassearchbutton. Obtain or set whether the search button on the toolbar is visible or hidden.
Haszoomfactorlist Boolean value. Gets or sets whether the zoom factor list on the toolbar is visible or hidden.
--------------------------------------
3. Web page layout:
In design view, modify the width and height attributes of crystalreportviewer.
Switch to the "HTML View" of the form and modify the style attribute.
<CR: crystalreportviewer id = "crystalreportviewer1" style = "Z-INDEX: 101; left: 8px; position: absolute; top: 8px "runat =" server "width =" 350px "Height =" 50px "enabledrilldown =" false "displaygrouptree =" false "> </Cr: crystalreportviewer>
--------------------------------------
4. company logo in addition to Crystal Reports
Replace or delete the logo file of crystal ......
(1) Use the Crystal Report provided by vs. net.
C: \ Program Files \ Microsoft Visual Studio. NET \ Crystal Reports \ viewers \ images \ Toolbar \ logo.gif
(2) Use the Crystal Report 9.2
C: \ Program Files \ common files \ crystal decisions \ 2.0 \ crystalreportviewers \ images \ Toolbar \ crlogo.gif
--------------------------------------
5. replace various icons and images in the Crystal Report
(1) Use the Crystal Report provided by vs. net.
C: \ Program Files \ Microsoft Visual Studio. NET \ Crystal Reports \ viewers \ images
(2) Use the Crystal Report 9.2
C: \ Program Files \ common files \ crystal decisions \ 2.0 \ crystalreportviewers \ Images

Install plug-ins when printing:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.