Italic Constructor (Inline^, TextPointer^)

 

Initializes a new instance of the Italic class with the specified Inline object as its initial content, and a TextPointer that specifies an insertion position for the new Inline element.

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

public:
Italic(
	Inline^ childInline,
	TextPointer^ insertionPosition
)

Parameters

childInline
Type: System.Windows.Documents::Inline^

The initial content. This parameter can be null, in which case no Inline is inserted.

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

The insertion position at which to insert the Italic element after it is created.

The following example demonstrates usage 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: