LineSpacingRule enumeration

LineSpacingRule enumeration

Specifies options for line-spacing rules.

Syntax


var value = Windows.UI.Text.LineSpacingRule.undefined;

Members

The LineSpacingRule enumeration has these members.

MemberValueDescription
Undefined | undefined0

The line spacing is undefined.

Single | single1

Single space. The line-spacing value is ignored.

OneAndHalf | oneAndHalf2

One-and-a-half line spacing. The line-spacing value is ignored.

Double | double3

Double line spacing. The line-spacing value is ignored.

AtLeast | atLeast4

The line-spacing value specifies the spacing from one line to the next. However, if the value is less than single spacing, text is single spaced.

Exactly | exactly5

The line-spacing value specifies the exact spacing from one line to the next, even if the value is less than single spacing.

Multiple | multiple6

The line-spacing value specifies the line spacing, in lines.

Percent | percent7

The line-spacing value specifies the line spacing by percent of line height.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Text
Windows::UI::Text [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Text
Windows::UI::Text [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

See also

ITextParagraphFormat.LineSpacingRule

 

 

Show:
© 2016 Microsoft