Skip to content

Latest commit

 

History

History
89 lines (67 loc) · 3.89 KB

nf-gdiplusstringformat-stringformat-stringformat(int_langid).md

File metadata and controls

89 lines (67 loc) · 3.89 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist req.product ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:gdiplusstringformat.StringFormat.StringFormat(INT,LANGID)
StringFormat::StringFormat(IN INT,IN LANGID) (gdiplusstringformat.h)
Creates a StringFormat object based on string format flags and a language.
StringFormat
StringFormat class [GDI+]
StringFormat constructor
StringFormat constructor [GDI+]
StringFormat constructor [GDI+]
StringFormat class
StringFormat.StringFormat
StringFormat.StringFormat(IN INT
IN LANGID)
StringFormat.StringFormat(INT
LANGID)
StringFormat::StringFormat
StringFormat::StringFormat(IN INT
IN LANGID)
_gdiplus_CLASS_StringFormat_StringFormat_formatFlags_language_
gdiplus._gdiplus_CLASS_StringFormat_StringFormat_formatFlags_language_
gdiplus\_gdiplus_CLASS_StringFormat_StringFormat_formatFlags_language_.htm
gdiplus
VS|gdicpp|~\gdiplus\gdiplusreference\classes\stringformatclass\stringformatconstructors\stringformat_22formatflags_language.htm
12/05/2018
StringFormat, StringFormat class [GDI+],StringFormat constructor, StringFormat constructor [GDI+], StringFormat constructor [GDI+],StringFormat class, StringFormat.StringFormat, StringFormat.StringFormat(IN INT,IN LANGID), StringFormat.StringFormat(INT,LANGID), StringFormat::StringFormat, StringFormat::StringFormat(IN INT,IN LANGID), _gdiplus_CLASS_StringFormat_StringFormat_formatFlags_language_, gdiplus._gdiplus_CLASS_StringFormat_StringFormat_formatFlags_language_
gdiplusstringformat.h
Gdiplus.h
Windows
Windows XP, Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Gdiplus.lib
Gdiplus.dll
Windows
GDI+ 1.0
19H1
StringFormat::StringFormat
gdiplusstringformat/StringFormat::StringFormat
c++
APIRef
kbSyntax
COM
Gdiplus.dll
StringFormat.StringFormat

StringFormat::StringFormat(IN INT,IN LANGID)

-description

Creates a StringFormat object based on string format flags and a language.

-parameters

-param formatFlags [in]

Type: INT

Optional. Value that specifies the format flags that control most of the characteristics of the StringFormat object. The flags are set by applying a bitwise OR to elements of the StringFormatFlags enumeration. The default value is 0 (no flags set).

-param language [in]

Type: LANGID

Optional. Sixteen-bit value that specifies the language to use. The default value is LANG_NEUTRAL, which is the user's default language.

-remarks

When specifying LANG_NEUTRAL as the language ID, it is common practice to pass just LANG_NEUTRAL as in the following example:

stat = FontFamily.GetFamilyName(name, LANG_NEUTRAL);

If you are specifying a language other than LANG_NEUTRAL, use MAKELANGID to create the language and sublanguage combination as in the following example:

LANGID language = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL);

For a list of the available languages and sublanguages, see Winnt.h.

-see-also

StringFormat

StringFormatFlags