ReplaceFrame

TiffImage.ReplaceFrame method

Replaces the frame at the specified position.

public TiffFrame ReplaceFrame(int index, TiffFrame frameToReplace)
ParameterTypeDescription
indexInt32The zero based frame position.
frameToReplaceTiffFrameThe frame to replace.

Return Value

The removed frame.

Remarks

Note: do not forget to Dispose the frame if you will not add it to some other TiffImage.

See Also