Partager via


DocumentBase.NoLineBreakAfter Property

Definition

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

public:
 property System::String ^ NoLineBreakAfter { System::String ^ get(); void set(System::String ^ value); };
public string NoLineBreakAfter { get; set; }
member this.NoLineBreakAfter : string with get, set
Public Property NoLineBreakAfter As String

Property Value

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