DocumentBase.FarEastLineBreakLanguage Property

Gets or sets the East Asian language to use when breaking lines of text in the document.

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

Syntax

'Declaration
Public Property FarEastLineBreakLanguage As WdFarEastLineBreakLanguageID
    Get
    Set
public WdFarEastLineBreakLanguageID FarEastLineBreakLanguage { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdFarEastLineBreakLanguageID
One of the WdFarEastLineBreakLanguageID values.

Examples

The following code example sets Microsoft Office Word to break lines in the current document based on Korean language rules. To use this example, run it from the ThisDocument class in a document-level project.

Private Sub DocumentFarEastLineBreakLanguage()
    Me.FarEastLineBreakLanguage = Word.WdFarEastLineBreakLanguageID.wdLineBreakKorean
End Sub 
private void DocumentFarEastLineBreakLanguage()
{
    this.FarEastLineBreakLanguage = Word.WdFarEastLineBreakLanguageID.wdLineBreakKorean;
}

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace