IDWriteTextAnalysisSink::SetLineBreakpoints method (dwrite.h)
Sets line-break opportunities for each character, starting from the specified position.
Syntax
HRESULT SetLineBreakpoints(
UINT32 textPosition,
UINT32 textLength,
[in] DWRITE_LINE_BREAKPOINT const *lineBreakpoints
);
Parameters
textPosition
Type: UINT32
The starting text position from which to report.
textLength
Type: UINT32
The number of UTF16 units of the reported range.
[in] lineBreakpoints
Type: DWRITE_LINE_BREAKPOINT*
A pointer to a structure that contains breaking conditions set for each character from the starting position to the end of the specified range.
Return value
Type: HRESULT
A successful code or error code to stop analysis.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | dwrite.h |
Library | Dwrite.lib |
DLL | Dwrite.dll |