DocumentBase.NoLineBreakAfter Property

Definition

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

public string NoLineBreakAfter { get; set; }

Property Value

String

The kinsoku characters after which Microsoft Office Word will not break a line.

Examples

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 = "$([{";
}
Private Sub DocumentNoLineBreakAfter()
    Me.NoLineBreakAfter = "$([{"
End Sub 

Applies to