XpsCanvas.Insert

XpsCanvas.Insert<T> method

Inserts an element to this canvas’s child list at index position.

public T Insert<T>(int index, T element)
    where T : XpsContentElement
ParameterDescription
TThe type of the element to add.
indexPosition at which an element should be inserted.
elementThe element to be inserted.

Return Value

Inserted element.

See Also