IDWriteTextAnalyzer1::GetScriptProperties method
Retrieves the properties for a given script.
Syntax
virtual HRESULT GetScriptProperties(
DWRITE_SCRIPT_ANALYSIS scriptAnalysis,
[out] DWRITE_SCRIPT_PROPERTIES *scriptProperties
) = 0;
Parameters
- scriptAnalysis
-
Type: DWRITE_SCRIPT_ANALYSIS
The script for a run of text returned from IDWriteTextAnalyzer::AnalyzeScript.
- scriptProperties [out]
-
Type: DWRITE_SCRIPT_PROPERTIES*
A pointer to a DWRITE_SCRIPT_PROPERTIES structure that describes info for the script.
Return value
Type: HRESULT
Returns properties for the given script. If the script is invalid, it returns generic properties for the unknown script and E_INVALIDARG.
Requirements
|
Minimum supported client |
Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also