Skip to content

Latest commit

 

History

History
99 lines (74 loc) · 3.69 KB

nf-dwrite-idwritetextanalyzer-analyzenumbersubstitution.md

File metadata and controls

99 lines (74 loc) · 3.69 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:dwrite.IDWriteTextAnalyzer.AnalyzeNumberSubstitution
IDWriteTextAnalyzer::AnalyzeNumberSubstitution (dwrite.h)
Analyzes a text range for spans where number substitution is applicable, reading attributes from the source and reporting substitutable ranges to the sink callback SetNumberSubstitution.
AnalyzeNumberSubstitution
AnalyzeNumberSubstitution method [Direct Write]
AnalyzeNumberSubstitution method [Direct Write]
IDWriteTextAnalyzer interface
IDWriteTextAnalyzer interface [Direct Write]
AnalyzeNumberSubstitution method
IDWriteTextAnalyzer.AnalyzeNumberSubstitution
IDWriteTextAnalyzer::AnalyzeNumberSubstitution
directwrite.IDWriteTextAnalyzer_AnalyzeNumberSubstitution
dwrite/IDWriteTextAnalyzer::AnalyzeNumberSubstitution
directwrite\IDWriteTextAnalyzer_AnalyzeNumberSubstitution.htm
DirectWrite
1cd53f79-5bbc-4a70-b66a-b807fe163a98
12/05/2018
AnalyzeNumberSubstitution, AnalyzeNumberSubstitution method [Direct Write], AnalyzeNumberSubstitution method [Direct Write],IDWriteTextAnalyzer interface, IDWriteTextAnalyzer interface [Direct Write],AnalyzeNumberSubstitution method, IDWriteTextAnalyzer.AnalyzeNumberSubstitution, IDWriteTextAnalyzer::AnalyzeNumberSubstitution, directwrite.IDWriteTextAnalyzer_AnalyzeNumberSubstitution, dwrite/IDWriteTextAnalyzer::AnalyzeNumberSubstitution
dwrite.h
Windows
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
Dwrite.lib
Dwrite.dll
Windows
19H1
IDWriteTextAnalyzer::AnalyzeNumberSubstitution
dwrite/IDWriteTextAnalyzer::AnalyzeNumberSubstitution
c++
APIRef
kbSyntax
COM
dwrite.dll
IDWriteTextAnalyzer.AnalyzeNumberSubstitution

IDWriteTextAnalyzer::AnalyzeNumberSubstitution

-description

Analyzes a text range for spans where number substitution is applicable, reading attributes from the source and reporting substitutable ranges to the sink callback SetNumberSubstitution.

-parameters

-param analysisSource

Type: IDWriteTextAnalysisSource*

The source object to analyze.

-param textPosition

Type: UINT32

The starting position within the source object.

-param textLength

Type: UINT32

The length to analyze.

-param analysisSink

Type: IDWriteTextAnalysisSink*

A pointer to the sink callback object that receives the text analysis.

-returns

Type: HRESULT

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

-remarks

Although the function can handle multiple ranges of differing number substitutions, the text ranges should not arbitrarily split the middle of numbers. Otherwise, it will treat the numbers separately and will not translate any intervening punctuation.

-see-also

IDWriteTextAnalyzer