Click or drag to resize

PlotItemCollectionReplace Method

Replaces one plot item, which must be part of this collection, by another plot item.

Namespace: Altaxo.Graph.Gdi.Plot
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void Replace(
	IGPlotItem oldItem,
	IGPlotItem newItem
)

Parameters

oldItem  IGPlotItem
The old item.
newItem  IGPlotItem
The new item.
Exceptions
ExceptionCondition
ArgumentNullException oldItem or newItem
ArgumentExceptionOldItem is not member of the collection - oldItem
See Also