IDWriteTextAnalyzer1::GetScriptProperties method (dwrite_1.h)
Retrieves the properties for a given script.
Syntax
HRESULT GetScriptProperties(
DWRITE_SCRIPT_ANALYSIS scriptAnalysis,
[out] DWRITE_SCRIPT_PROPERTIES *scriptProperties
);
Parameters
scriptAnalysis
Type: DWRITE_SCRIPT_ANALYSIS
The script for a run of text returned from IDWriteTextAnalyzer::AnalyzeScript.
[out] scriptProperties
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | dwrite_1.h |
Library | Dwrite_1.lib |
DLL | Dwrite_1.dll |