TiffImageReplaceFrame Method
Replaces the frame at the specified position.

Namespace: Aspose.Imaging.FileFormats.Tiff
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.04
Syntax
public TiffFrame ReplaceFrame(
	int index,
	TiffFrame frameToReplace
)

Parameters

index
Type: SystemInt32
The zero based frame position.
frameToReplace
Type: Aspose.Imaging.FileFormats.TiffTiffFrame
The frame to replace.

Return Value

Type: TiffFrame
The removed frame.
Remarks
Note: do not forget to Dispose the frame if you will not add it to some other TiffImage.
See Also