TS_RUNINFO structure

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 RunuCountTsRunType
<b>3TS_RT_HIDDEN
Hello<space>5TS_RT_PLAIN
</b><i>7TS_RT_HIDDEN
World5TS_RT_PLAIN
</i>4TS_RT_HIDDEN

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Textstor.h

IDL

Textstor.idl

 

 

Show: