ReplaceFrame

TiffImage.ReplaceFrame method

Replaces the frame at the specified position.

public TiffFrame ReplaceFrame(int index, TiffFrame frameToReplace)
Parameter Type Description
index Int32 The zero based frame position.
frameToReplace TiffFrame The 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