IDWriteTextAnalysisSink::SetLineBreakpoints Method
Sets line-break opportunities for each character, starting from the specified position.
Syntax
virtual HRESULT SetLineBreakpoints(
UINT32 textPosition,
UINT32 textLength,
[in] DWRITE_LINE_BREAKPOINT *lineBreakpoints
) = 0;
Parameter
textPosition
The starting text position from which to report.textLength
The number of UTF16 units of the reported range.lineBreakpoints [in]
A pointer to a structure that contains breaking conditions set for each character from the starting position to the end of the specified range.
Rückgabewert
A successful code or error code to stop analysis.
Anforderungen
Mindestens unterstützter Client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 |
Header |
Dwrite.h |
Bibliothek |
Dwrite.lib |
DLL |
Dwrite.dll |