TopicTransformationExtensionsInsertWordBreakOpportunities 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.
Namespace: Sandcastle.Core.PresentationStyle.TransformationAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.9.12.0
public static IEnumerable<XNode> InsertWordBreakOpportunities(
this string text
)
<ExtensionAttribute>
Public Shared Function InsertWordBreakOpportunities (
text As String
) As IEnumerable(Of XNode)
public:
[ExtensionAttribute]
static IEnumerable<XNode^>^ InsertWordBreakOpportunities(
String^ text
)
[<ExtensionAttribute>]
static member InsertWordBreakOpportunities :
text : string -> IEnumerable<XNode>
- text String
- The text into which word break markers will be inserted
IEnumerableXNodeAn enumerable list of the text parts and word break elementsIn Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).