View Categories

Horizontal text placement

< 1 min read

The most common alignment of text is left justified. The left edge of each line of text begins at the same position with respect to the left edge of the component. Stimulsoft Reports allows you to choose an array because modern design needs more flexibility. So Stimulsoft Reports gives you the choice of left, center, right, and justified. These are assigned using the component's HorizontalAlignment property.

 left.The text is aligned to the right edge, which is irregular on the right edge.

 center.The text is centered within the component, with the left and right edges ragged.

 right.The text is aligned to the left edge, which is irregular on the right edge.

 Justification.The text is evenly distributed across the width of the component, providing smooth edges for the text on both sides. This is achieved by automatically adjusting the amount of space between words.

Placement of alt text

You can also use HTML tags to set the alignment of text in the alignment property.