Reports for WPF | ComponentOne
Task Based Help / Add image field / Creating unbound image
In This Topic
    Creating unbound image
    In This Topic

    Unbound images are static images such as logos and watermarks that are not stored in the database. To add unbound image fields to your report, complete the following tasks:

    1. Open the C1ReportDesigner application. For more information on how to access C1ReportDesigner, see Accessing C1ReportDesigner from Visual Studio.
    2. Create a new report|tag=Creating a Basic Report Definition or open an existing report. Once you have the report in the C1ReportDesigner, you can modify the report properties.
    3. Click the Design button to begin editing the report.
    4. In Design mode, click the Add Unbound Picture button  located in the Fields group of the Design tab.

    The Open dialog box appears.

    1. Select the image file you want to include in the report, and click Open.
    2. Click on your report where you would like to place the image, and then resize the field to show the image.

    In the following image an unbound image has been added to the report and is being resized:

    Note that the image file can be embedded in the report definition, or it can be a reference to an external file. To choose the option you prefer, in the Designer select the Application button and in the menu that appears select Options. The C1ReportDesigner Options dialog box appears where you can choose the Embed images into Xml when saving option.

    Sample Report Available

    For the complete report, see report "03: Unbound Images" in the CommonTasks.xml report definition file, which is available for download from the CommonTasks sample on the ComponentOne HelpCentral Sample page.

    See Also