Click or drag to resize

AnnotationUIFactoryCollectionReplace Method

Replaces a factory in the collection.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void Replace(
	IAnnotationUIFactory oldFactory,
	IAnnotationUIFactory newFactory
)

Parameters

oldFactory
Type: Atalasoft.Annotate.UIIAnnotationUIFactory
The factory currently in the collection.
newFactory
Type: Atalasoft.Annotate.UIIAnnotationUIFactory
The new factory that will replace the old one.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the oldFactory or newFactory parameter is null.
Remarks
If the old factory is not found in the collection, the new factory will be added to the end of the collection.
See Also