Document.TextLineEnding 屬性

取得或設定 WdLineEndingType 常數,表示 Microsoft Office Word 如何在儲存為文字檔的文件中標示分行符號或段落符號。

命名空間:  Microsoft.Office.Tools.Word
組件:   Microsoft.Office.Tools.Word.v4.0.Utilities (在 Microsoft.Office.Tools.Word.v4.0.Utilities.dll 中)
  Microsoft.Office.Tools.Word (在 Microsoft.Office.Tools.Word.dll 中)

語法

'宣告
Property TextLineEnding As WdLineEndingType
WdLineEndingType TextLineEnding { get; set; }

屬性值

型別:Microsoft.Office.Interop.Word.WdLineEndingType
其中一個 WdLineEndingType 值。

.NET Framework 安全性

請參閱

參考

Document 介面

Microsoft.Office.Tools.Word 命名空間