Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Collapse]Printing-Exporting
   [Expand]Product Information
   [Expand]Getting Started
   [Expand]Fundamental Concepts
   [Collapse]Concepts
    [Collapse]Basic Terms
      Printing System
      Bricks
      Printing Links
      Document Sections
      Brick Graphics
    [Expand]Print Preview
    [Expand]Exporting
    [Expand]Miscellaneous
   [Expand]Examples
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Bricks

This document provides an overview of one of the most fundamental elements that are used to construct any document in the XtraPrinting Library - bricks.

A brick is a simple element with a specified size, contents and location that is used to display text, image, shape, barcode, or any textual and/or graphic information on a document page.

Brick types vary depending on the kind of information they are used to display. The most basic brick types are:

The hierarchy of all brick types available in the XtraPrinting Library is published in Classes Hierarchy: Bricks. To learn how to use different brick types, see How to: Use Bricks of Different Types.

All bricks are descendants of the base VisualBrick class, which defines a set of properties that allow the PrintingSystem component to create and render a document. A Visual Brick is rendered on a page as a simple rectangle.

You can merge multiple bricks into a single CompositeBrick. Its coordinates and document section modifier define how all bricks that it contains are rendered on a page. For example, the Page& class is also a Composite Brick.

You are not restricted by the set of standard brick types. To provide minor customizations, you can inherit from any brick type. Alternatively, you can create a descendant of the UserVisualBrick class. To learn more on this, see the following tutorials.

Expanded See Also

How would you rate this topic?​​​​​​​