Export (0) Print
Expand All

Typography.CapitalSpacing Property

Gets or sets a value that determines whether inter-glyph spacing for all-capital text is globally adjusted to improve readability.

Namespace: System.Windows.Documents
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

'Declaration
Public Property CapitalSpacing As Boolean
'Usage
Dim instance As Typography
Dim value As Boolean

value = instance.CapitalSpacing

instance.CapitalSpacing = value
/** @property */
public boolean get_CapitalSpacing ()

/** @property */
public void set_CapitalSpacing (boolean value)

public function get CapitalSpacing () : boolean

public function set CapitalSpacing (value : boolean)

You cannot use this property in XAML.

Property Value

true if spacing is adjusted; otherwise, false. The default value is false.

Capital spacing is a feature that allows you to provide more spacing when using all capitals in text. Capital letters are typically designed to blend with lowercase letters. Spacing that appears attractive between and a capital letter and a lowercase letter may look too tight when all capital letters are used. The following text displays normal and capital spacing for the Pescadero font.

Example of normal and capital spacing


Text using OpenType capital spacing

The following code example shows how to define capital spacing for the Pescadero font, using the CapitalSpacing property.

<Paragraph FontFamily="Pescadero">
  <Run Typography.CapitalSpacing="True">CHAPTER ONE</Run>
</Paragraph>

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft