IDWriteTextAnalyzer1::AnalyzeVerticalGlyphOrientation method (dwrite_1.h)

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

Syntax

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

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

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.lib
DLL Dwrite.dll

See also

IDWriteTextAnalyzer1