XpsDocument.Remove

XpsDocument.Remove<T> method

Removes an element from the active page.

public T Remove<T>(T element)
    where T : XpsContentElement
ParameterDescription
TThe type of the element.
elementElement to be removed.

Return Value

Removed element.

See Also