Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RichTextBlock.CharacterSpacing Property

Silverlight

Gets or sets the distance between characters of text in the control measured in 1000ths of the font size.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)
public int CharacterSpacing { get; set; }

Property Value

Type: System.Int32
The distance between characters of text in the control measured in 1000ths of the font size. The default is 0.

As an example, if the font size is 20 pixels and you set the CharacterSpacing property to 500, 10 pixels will be added between each character of your text. (20 * 500/1000 = 10)

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.