TsRunType enumeration (textstor.h)

Elements of the TsRunType enumeration specify if a text run is visible, hidden, or is a private data type embedded in the text run.

Syntax

typedef enum __MIDL___MIDL_itf_textstor_0000_0000_0003 {
  TS_RT_PLAIN = 0,
  TS_RT_HIDDEN,
  TS_RT_OPAQUE
} TsRunType;

Constants

 
TS_RT_PLAIN
Value: 0
The text run is visible.
TS_RT_HIDDEN
The text run is hidden.
TS_RT_OPAQUE
The text run is a private data type embedded in the text run.

Remarks

A text run is a collection of consecutive characters that is visible, hidden, or contains embedded data. For example, the text, Hello World in HTML might be <b>Hello </b><i>World</i>. This text would be defined using the TsRunType as in the following.

Text Run Value
<b> TS_RT_HIDDEN
Hello<space> TS_RT_PLAIN
</b> TS_RT_HIDDEN
<i> TS_RT_HIDDEN
World TS_RT_PLAIN
</i> TS_RT_HIDDEN

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Header textstor.h
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITextStoreACP::GetText

TS_RUNINFO