DWRITE_TEXT_RANGE structure (dwrite.h)

Specifies a range of text positions where format is applied in the text represented by an IDWriteTextLayout object.

Syntax

struct DWRITE_TEXT_RANGE {
  UINT32 startPosition;
  UINT32 length;
};

Members

startPosition

Type: UINT32

The start position of the text range.

length

Type: UINT32

The number positions in the text range.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header dwrite.h