Topic Transformation ExtensionsInsert Word Break Opportunities Method
Insert word break opportunities into HTML text to allow better word wrapping when the text container
is narrow like the Table of Contents pane.
Definition
Namespace: Sandcastle.Core.PresentationStyle.Transformation
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
An enumerable list of the text parts and word break elements
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public static IEnumerable<XNode> InsertWordBreakOpportunities(
this string text
)VB
<ExtensionAttribute>
Public Shared Function InsertWordBreakOpportunities (
text As String
) As IEnumerable(Of XNode)C++
public:
[ExtensionAttribute]
static IEnumerable<XNode^>^ InsertWordBreakOpportunities(
String^ text
)F#
[<ExtensionAttribute>]
static member InsertWordBreakOpportunities :
text : string -> IEnumerable<XNode> Parameters
- text String
- The text into which word break markers will be inserted
Return Value
IEnumerableXNodeAn enumerable list of the text parts and word break elements