Figure Constructor (Block)
Collapse the table of content
Expand the table of content

Figure Constructor (Block)


Initializes a new instance of the Figure class, taking a specified Block object as the initial contents of the new Figure.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public Figure(
	Block childBlock


Type: System.Windows.Documents.Block

A Block object specifying the initial contents of the new Figure.

The following example demonstrates the use of this constructor.

Paragraph parx = new Paragraph(new Run("Figure content..."));
Figure figx = new Figure(parx);

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft