Document.NoLineBreakAfter Property (2007 System)
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.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Property NoLineBreakAfter As String
'Usage
Dim instance As Document
Dim value As String
value = instance.NoLineBreakAfter
instance.NoLineBreakAfter = value
public string NoLineBreakAfter { get; set; }
public:
property String^ NoLineBreakAfter {
String^ get ();
void set (String^ value);
}
public function get NoLineBreakAfter () : String
public function set NoLineBreakAfter (value : String)
Property Value
Type: System.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.
This example is for a document-level customization.
Private Sub DocumentNoLineBreakAfter()
Me.NoLineBreakAfter = "$([{"
End Sub
private void DocumentNoLineBreakAfter()
{
this.NoLineBreakAfter = "$([{";
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.