Section Construtores

Definição

Inicializa uma nova instância da classe Section.

Sobrecargas

Nome Description
Section()

Inicializa uma nova instância vazia da Section classe.

Section(Block)

Inicializa uma nova instância da classe Section, tomando um objeto Block especificado como o conteúdo inicial do novo Section.

Section()

Inicializa uma nova instância vazia da Section classe.

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

Aplica-se a

Section(Block)

Inicializa uma nova instância da classe Section, tomando um objeto Block especificado como o conteúdo inicial do novo Section.

public:
 Section(System::Windows::Documents::Block ^ block);
public Section(System.Windows.Documents.Block block);
new System.Windows.Documents.Section : System.Windows.Documents.Block -> System.Windows.Documents.Section
Public Sub New (block As Block)

Parâmetros

block
Block

Um Block objeto que especifica o conteúdo inicial do novo Section.

Exemplos

O exemplo a seguir demonstra o uso desse construtor.

// A child Block element for the new Section element.
Paragraph parx = new Paragraph(new Run("A bit of text content..."));

// After this line executes, the new element "secx"
// contains the specified Block element, "parx".
Section secx = new Section(parx);
' A child Block element for the new Section element.
Dim parx As New Paragraph(New Run("A bit of text content..."))

' After this line executes, the new element "secx"
' contains the specified Block element, "parx".
Dim secx As New Section(parx)

Aplica-se a