TiffImage.ReplaceFrame

TiffImage.ReplaceFrame method

Substitute the frame at the designated position with another frame seamlessly, facilitating dynamic frame management within the image sequence. Integrate this method to enhance flexibility and precision in frame manipulation, ensuring optimal organization and presentation of image content within your application.

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