Partager via


SPDISPLAYATTRIBUTES

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

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

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.

See Also

SAPI Enumerations

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.