MF_TIMED_TEXT_DISPLAY_ALIGNMENT enumeration (mfmediaengine.h)

Specifies how text is aligned with the display.

Syntax

typedef enum MF_TIMED_TEXT_DISPLAY_ALIGNMENT {
  MF_TIMED_TEXT_DISPLAY_ALIGNMENT_BEFORE = 0,
  MF_TIMED_TEXT_DISPLAY_ALIGNMENT_AFTER = 1,
  MF_TIMED_TEXT_DISPLAY_ALIGNMENT_CENTER = 2
} ;

Constants

 
MF_TIMED_TEXT_DISPLAY_ALIGNMENT_BEFORE
Value: 0
Text is aligned before an element.
MF_TIMED_TEXT_DISPLAY_ALIGNMENT_AFTER
Value: 1
Text is aligned after an element.
MF_TIMED_TEXT_DISPLAY_ALIGNMENT_CENTER
Value: 2
Text is aligned in the center between elements.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header mfmediaengine.h

See also

Media Foundation Enumerations