Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to use bricks of different types

$
0
0

The following example demonstrates how to use bricks of different types. The code listed in this example creates a report with images (represented by ImageBrick objects) and text (represented by TextBrick objects). Every image displays a picture of a fish, and a text contains species characteristics and its description.

Also, this example demonstrates how to use PageImageBrick and PageInfoBrick objects to show additional information in a page header. For instance, the PageImageBrick displays a DevExpress logo at the top of every page, while two PageInfo bricks display different kinds of information (either the current date and time, or the page number), depending on the PageInfoTextBrick.PageInfo property value.

In addition, this example demonstrates how to add a CheckBoxBrick to a document, and how to use a simple Brick to draw double borders around other bricks.

NOTE
This example demonstrates an outdated approach to creating document sections by setting the BrickGraphics.Modifier property. Refer to T335238: How to: Use Bricks of Different Types to learn how to customize document sections using a printing link's dedicated events.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>