IDWriteStringList interface

Represents a collection of strings indexed by number. An IDWriteStringList is identical to IDWriteLocalizedStrings except for the semantics, where localized strings are indexed on language (each language has one string property) whereas IDWriteStringList may contain multiple strings of the same language, such as a string list of family names from a font set. You can QueryInterface from an IDWriteLocalizedStrings to an IDWriteStringList.

Members

The IDWriteStringList interface inherits from the IUnknown interface. IDWriteStringList also has these types of members:

Methods

The IDWriteStringList interface has these methods.

MethodDescription
GetCount

Gets the number of strings in the string list.

GetLocaleName

Copies the locale name with the specified index to the specified array.

GetLocaleNameLength

Gets the length in characters (not including the null terminator) of the locale name with the specified index.

GetString

Copies the string with the specified index to the specified array.

GetStringLength

Gets the length in characters (not including the null terminator) of the string with the specified index.

 

Requirements

Header

Dwrite_3.h

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IUnknown

 

 

Show: