Skip to main content

Create Labels and Badges

  • 2 minutes to read

This tutorial describes how to create a label report that contains employee badges.

HowTo - CreateLabels_3

Do the following to create a label report:

  1. Create a new application or open an existing application. For more information, review the following help topic: Get Started with DevExpress Reporting.

  2. Add a new blank report to it and bind the report to the “Employees” table of the sample Northwind database.
  3. To invoke the Report Wizard, click the report’s smart tag, and in the invoked actions list, click Design in Report Wizard… link.

    HowTo - CreateLabels_0

  4. The wizard guides you through the process of creating a label report. For detailed instructions on the wizard’s steps, refer to Labels.
  5. After performing the above steps you will see that the report’s Detail band is now divided into three differently colored areas. The first area at the left-hand side indicates the actual available band area for controls to be placed within it. The gray area at the right-hand side is intended for the columns in which labels will be displayed, so it cannot be occupied by controls. Finally, the white area specifies an indent between the available and reserved areas.

    HowTo - CreateLabels_1

  6. Drop the required fields from the Field List onto the available Detail band’s area, and adjust the layout.

    HowTo - CreateLabels_2

    If required, you can apply mail merge to combine several fields (e.g. FirstName and LastName) within the same XRLabel.

    For the XRPictureBox control bound to the Photo field, you can set its XRPictureBox.Sizing property to ZoomImage.

Your report is now ready to be generated. In Visual Studio, you can view the report by switching to the Preview tab.


Tutorials that explain how to create different reports using Web Report Designer are included in the End-User Documentation online help section.