Expand Minimize

DocumentBase.NoLineBreakAfter Property

Gets or sets the kinsoku characters after which Microsoft Office Word will not break a line.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

public string NoLineBreakAfter { get; set; }

Property Value

Type: System.String
The kinsoku characters after which Microsoft Office Word will not break a line.

The following code example sets "$", "(", "[", and "{" as the kinsoku characters after which Word will not break a line in the document. To use this example, run it from the ThisDocument class in a document-level project.

private void DocumentNoLineBreakAfter()
{
    this.NoLineBreakAfter = "$([{";
}

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft