Crystal Reports Online Training

Learn Online, Anytime, Anywhere

Step-by-step online tutorials.

2.12 Picture Object, Chart Object, and Hyperlink Object

The Picture Object

The picture object is used for displaying the following image file formats: BMP, JPG, TIFF, and PNG. It doesn’t display GIF files. The formatting options are similar to the other controls in that it has the tabs Common, Border, and Hyperlink with similar functionality. There is a Picture tab, shown in Figure 2-18, that lets you resize, scale and crop the image. If at any point you feel that you resized or scaled it improperly and you want to restore it to its original size, click the Reset button.



Figure 2-18. The Picture tab of the Picture object’s dialog box.

The Chart Object

The Chart object lets you add a chart to your report. There are a variety of options to choose from so that you can customize the chart however you need to. There is so much to cover with this object that it was given a separate chapter. See Chapter 10 for more information.

The OLE Object

The OLE object lets you embed objects inside of your report. Some examples are embedding Word documents or Excel spreadsheets. This is a feature that was brought forward from previous versions of Crystal Reports it isn’t used much anymore.

The Hyperlink Object

The Hyperlink object is used for giving your report the ability to show a hyperlink to an on-demand subreport. When a user clicks on the hyperlink, the subreport opens in the viewer and gets its own tab. This creates an on-demand subreport. The user can toggle back and forth between the two tabs to see both reports.