RemoveFrameAt

ApngImage.RemoveFrameAt method

Remove the frame at the specified index from your frame collection seamlessly with this method. Perfect for developers seeking streamlined management of frames in their multi-frame images. The frame to be deleted will be disposed.

public void RemoveFrameAt(int index)
ParameterTypeDescription
indexInt32The index.

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionindex is less than 0. or index is equal to or greater than PageCount.

See Also