Export (0) Print
Expand All

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

Dwrite_1.h

Library

Dwrite_1.lib

DLL

Dwrite_1.dll

See also

IDWriteTextAnalyzer1

 

 

Community Additions

ADD
Show:
© 2014 Microsoft