TextPointer.InsertParagraphBreak 메서드

정의

현재 위치에 단락 나누기를 삽입합니다.

public:
 System::Windows::Documents::TextPointer ^ InsertParagraphBreak();
public System.Windows.Documents.TextPointer InsertParagraphBreak ();
member this.InsertParagraphBreak : unit -> System.Windows.Documents.TextPointer
Public Function InsertParagraphBreak () As TextPointer

반환

TextPointer

새 단락의 시작 부분(TextPointer)에 대한 ContentStart입니다.

예외

이 메서드는 Hyperlink 또는 InlineUIContainer 범위에서와 같이 새 단락을 수용하도록 분할할 수 없는 위치에서 호출됩니다.

설명

기존 내 현재 위치 하는 경우이 메서드를 호출 하면 Paragraph 요소, 기존 단락 및 포함 된 콘텐츠를 현재 위치에 있는 두 단락으로 분할 됩니다. 현재 위치를 기존 단락 내 없을 때이 메서드는, 새로 만든 빈 단락 삽입 됩니다. 이 메서드는 위치에 분할 또는 단락 삽입에 대 한 적합 하지 않은 경우 (현재 위치 내에 있을 경우에 예를 들어를 Hyperlink 요소), 예외가 throw 됩니다.

적용 대상