Format paragraphs
You can align text relative to the bounding boxes of the objects that contain the text in your
Microsoft® Expression Blend application, for text that is contained
within TextBox or RichTextBox objects. Specifically, you can align text
to the left, right, or center, or you can justify the text to the left and right edges of the bounding box
that contains the text. For RichTextBox objects, you can set the alignment of
individual paragraphs separately, and you can also control the line height and paragraph spacing of text within the objects.
To align text within a TextBox or RichTextBox object
- Select the TextBox or RichTextBox object that contains the text that you want to align, by using either the
Selection
tool or the Direct Selection
tool.
- In the Properties panel, under Text, click the Paragraph
tab.
- Set the Text Alignment
as desired.
To set line height or paragraph spacing for text within a RichTextBox object
- Select the RichTextBox object that contains the text that you want to
format, by using either the
Selection
tool or the Direct Selection
tool.
- To format individual paragraphs separately within the text object, right-click the object, click Edit Text,
and then click to place your cursor anywhere within the paragraph that you want to format. Otherwise, to uniformly format all
paragraphs within the object, continue to the next step.
- In the Properties panel, under Text, click the Paragraph
tab, and then do one or more of the following:
- Set the Line Height
property as desired to set the amount of space between every pair of lines in the paragraph or
paragraphs.
- Set the Paragraph Spacing Before
property to set the amount of space that precedes the paragraph or paragraphs.
- Set Paragraph Spacing After
to set the amount of space that follows the paragraph or paragraphs.