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.

Definition

Namespace: Sandcastle.Core.PresentationStyle.Transformation
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static IEnumerable<XNode> InsertWordBreakOpportunities(
	this string text
)

Parameters

text  String
The text into which word break markers will be inserted

Return Value

IEnumerableXNode
An enumerable list of the text parts and word break elements

Usage Note

In 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).

See Also