Document.NoLineBreakBefore Property (2007 System)
Gets or sets the kinsoku characters before 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 NoLineBreakBefore As String
'Usage
Dim instance As Document
Dim value As String
value = instance.NoLineBreakBefore
instance.NoLineBreakBefore = value
public string NoLineBreakBefore { get; set; }
public:
property String^ NoLineBreakBefore {
String^ get ();
void set (String^ value);
}
public function get NoLineBreakBefore () : String
public function set NoLineBreakBefore (value : String)
Property Value
Type: System.String
The kinsoku characters before which Microsoft Office Word will not break a line.
Examples
The following code example sets "!", ")", and "]" as the kinsoku characters before which Word will not break a line in the active document.
This example is for a document-level customization.
Private Sub DocumentNoLineBreakBefore()
Me.NoLineBreakBefore = "!)]"
End Sub
private void DocumentNoLineBreakBefore()
{
this.NoLineBreakBefore = "!)]";
}
.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.