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;
Parameters
- textPosition
-
Type: UINT32
The starting text position from which to report.
- textLength
-
Type: UINT32
The number of UTF16 units of the reported range.
- lineBreakpoints [in]
-
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
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also