Share via


SPDISPLAYATTRIBUTES

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This enumeration defines display attributes. It can be used to properly format the phrase elements in display text.

Syntax

typedef enum tagSPDISPLYATTRIBUTES{
  SPAF_ONE_TRAILING_SPACE = 0x02,
  SPAF_TWO_TRAILING_SPACES = 0x04,
  SPAF_CONSUME_LEADING_SPACES = 0x08,
  SPAF_ALL = 0x0F 
} SPDISPLAYATTRIBUTES;

Elements

  • SPAF_ONE_TRAILING_SPACE
    Insert one trailing space. This attribute is used for most words.
  • SPAF_TWO_TRAILING_SPACES
    Insert two trailing spaces. This attribute is often used after the final period (.) in a sentence.
  • SPAF_CONSUME_LEADING_SPACES
    Consume leading spaces. This attribute is often used for a period. If this attribute is absent, the word should have a leading space by default.
  • SPAF_ALL
    Use a combination of all the above attributes.

Requirements

Header sapi.h, sapi.idl
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

SAPI Enumerations