Share via


Paragraph 생성자

정의

Paragraph 클래스의 새 인스턴스를 초기화합니다.

오버로드

Paragraph()

Paragraph 클래스의 비어 있는 새 인스턴스를 초기화합니다.

Paragraph(Inline)

지정된 Paragraph 개체를 초기 콘텐츠로 사용하여 Inline 클래스의 새 인스턴스를 초기화합니다.

Paragraph()

Paragraph 클래스의 비어 있는 새 인스턴스를 초기화합니다.

public:
 Paragraph();
public Paragraph ();
Public Sub New ()

적용 대상

Paragraph(Inline)

지정된 Paragraph 개체를 초기 콘텐츠로 사용하여 Inline 클래스의 새 인스턴스를 초기화합니다.

public:
 Paragraph(System::Windows::Documents::Inline ^ inline);
public Paragraph (System.Windows.Documents.Inline inline);
new System.Windows.Documents.Paragraph : System.Windows.Documents.Inline -> System.Windows.Documents.Paragraph
Public Sub New (inline As Inline)

매개 변수

inline
Inline

Inline의 초기 콘텐츠를 지정하는 Paragraph 개체입니다.

예제

다음 예제에서는이 생성자의 사용을 보여 줍니다.

// A child Inline element for the new Paragraph element.
Run runx = new Run("Text to be hosted in the new paragraph...");

// After this line executes, the new element "parx"
// contains the specified Inline element, "runx".
Paragraph parx = new Paragraph(runx);
' A child Inline element for the new Paragraph element.
Dim runx As New Run("Text to be hosted in the new paragraph...")

' After this line executes, the new element "parx"
' contains the specified Inline element, "runx".
Dim parx As New Paragraph(runx)

적용 대상