TS_RUNINFO structure (textstor.h)

The TS_RUNINFO structure specifies the properties of text run data.

Syntax

typedef struct TS_RUNINFO {
  ULONG     uCount;
  TsRunType type;
} TS_RUNINFO;

Members

uCount

Specifies the number of characters in the text run.

type

Specifies the text run type. If this parameter is TS_RT_PLAIN, the text run is visible. If this parameter is TS_RT_HIDDEN, the text run is hidden. If this parameter is TS_RT_OPAQUE, the text run is a private data type embedded in the text by application or text service that implements the ITextStore interface.

Remarks

A text run is a collection of consecutive visible, hidden, or embedded characters. For example, the text, Hello World in HTML might be <b>Hello </b><i>World</i>. This text is represented in the TS_RUNINFO structure as follows.

Text Run uCount TsRunType
<b> 3 TS_RT_HIDDEN
Hello<space> 5 TS_RT_PLAIN
</b><i> 7 TS_RT_HIDDEN
World 5 TS_RT_PLAIN
</i> 4 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