IDWriteTextAnalyzer1::AnalyzeVerticalGlyphOrientation method

Analyzes a text range for script orientation, reading text and attributes from the source and reporting results to the sink callback SetGlyphOrientation.

Syntax


virtual HRESULT AnalyzeVerticalGlyphOrientation(
   IDWriteTextAnalysisSource1 *analysisSource,
   UINT32                     textPosition,
   UINT32                     textLength,
   IDWriteTextAnalysisSink1   *analysisSink
) = 0;

Parameters

analysisSource

Type: IDWriteTextAnalysisSource1*

Source object to analyze.

textPosition

Type: UINT32

Starting position within the source object.

textLength

Type: UINT32

Length to analyze.

analysisSink

Type: IDWriteTextAnalysisSink1*

Length to analyze.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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.lib

DLL

Dwrite.dll

See also

IDWriteTextAnalyzer1

 

 

Show: