Figure Constructor (Block^, TextPointer^)

 

Initializes a new instance of the Figure class, taking a specified Block object as the initial contents of the new Figure, and a TextPointer specifying an insertion position for the new Figure element.

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

public:
Figure(
	Block^ childBlock,
	TextPointer^ insertionPosition
)

Parameters

childBlock
Type: System.Windows.Documents::Block^

A Block object specifying the initial contents of the new Figure. This parameter may be null, in which case no Block is inserted.

insertionPosition
Type: System.Windows.Documents::TextPointer^

A TextPointer specifying an insertion position at which to insert the Figure element after it is created, or null for no automatic insertion.

The following example demonstrates the use of this constructor.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: