Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Obtain a Label's Text in Print Preview

  • 2 minutes to read

To obtain a label’s text when clicking it in Print Preview, do the following:

  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 the application.
  3. Drop two XRLabel controls from the DX.24.2: Report Controls Toolbox tab onto the Detail band.

    HowTo_ObtainTextPreview_0

  4. To get a label’s content in Print Preview, do one of the following (depending on the target platform):

See Also