Table of Contents

Method CreateChild

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

CreateChild(string)

Creates an element from a tag name. The element is appended to the list of children.

ISvgElement CreateChild(string tagName)

Parameters

tagName string

The tag name of the new child. An empty string is interpreted to be a text content element.

Returns

ISvgElement

The new child element.

Remarks

Throws an exception if this element cannot accept children of the specified type.