[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.LocalizedStrings

LocalizedStrings Class

IDWriteLocalizedStrings

Inheritance
LocalizedStrings
Implements
Namespace: C1.Util.DX.DirectWrite
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("08256209-099a-4b34-b86d-c22b110e7771")]
public class LocalizedStrings : ComObject, IDisposable, IUnknown

Constructors

Name Description
LocalizedStrings(IntPtr)

Initializes a new instance of the LocalizedStrings class.

Methods

Name Description
FindLocaleName(string, out int)

HRESULT IDWriteLocalizedStrings::FindLocaleName([In] const wchar_t* localeName,[Out] unsigned int* index,[Out] BOOL* exists)

GetCount()

unsigned int IDWriteLocalizedStrings::GetCount()

GetLocaleName(int)

Get the locale name from the language.

GetLocaleName(int, IntPtr, int)

HRESULT IDWriteLocalizedStrings::GetLocaleName([In] unsigned int index,[Out, Buffer] wchar_t* localeName,[In] unsigned int size)

GetLocaleNameLength(int)

HRESULT IDWriteLocalizedStrings::GetLocaleNameLength([In] unsigned int index,[Out] unsigned int* length)

GetString(int)

Get the string from the language/string pair.

GetString(int, IntPtr, int)

HRESULT IDWriteLocalizedStrings::GetString([In] unsigned int index,[Out, Buffer] wchar_t* stringBuffer,[In] unsigned int size)

GetStringLength(int)

HRESULT IDWriteLocalizedStrings::GetStringLength([In] unsigned int index,[Out] unsigned int* length)

Operators

Name Description
explicit operator LocalizedStrings(IntPtr)

Performs an explicit conversion from IntPtr to LocalizedStrings.