Delen via


CD2DTextLayout::SetLocaleName

Sets the locale name for text within a specified text range

BOOL SetLocaleName(
   LPCWSTR pwzLocaleName,
   DWRITE_TEXT_RANGE textRange
);

Parameters

  • pwzLocaleName
    A null-terminated locale name string

  • textRange
    Text range to which this change applies

Return Value

If the method succeeds, it returns TRUE. Otherwise, it returns FALSE

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DTextLayout Class