View on GitHub

dotnet-eud

.NET Controls End-User Documentation

Character Comb

Overview

The Character Comb control displays text so that each character is printed in an individual cell.

To add a Character Comb to the report, drag the Character Comb item from the Toolbox onto the report’s area.

The number of cells displayed by the control in Print Preview depends on the Can Shrink and Auto Width settings.

See the Content Layout and Position section to learn more on using these properties.

You can also adjust the character comb’s size to match its characters using the Fit Bounds To Text toolbar button or context menu command:

When exporting this control to third-party formats, consider the following

In most aspects, the Character Comb is similar to the Label control from which it inherits most of its properties and its basic behavior. For general information about binding these controls to data and display summary function results, see the Label topic. To learn about Character Comb specifics, see the following sections in this document.

Main Options

The following properties are specific to the Character Comb control:

Content Layout and Position

This section describes the Character Comb properties that affect the control’s position on a page and content layout.

The following image illustrates the behavior of the Auto Width property that specifies whether or not the width of a control depends on its text.

AutoWidth = true AutoWidth = false

The following image illustrates the behavior of the Can Shrink property that specifies whether or not the height of a control depends on its text.

CanShrink = true CanShrink = false

The Text Alignment property specifies the alignment of text within a control.

TextAlignment = Top Left TextAlignment = Middle Center TextAlignment = Bottom Right