TiffImageReplaceFrame Method |
Replaces the frame at the specified position.
Namespace: Aspose.Imaging.FileFormats.TiffAssembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.04
Syntaxpublic TiffFrame ReplaceFrame(
int index,
TiffFrame frameToReplace
)
Public Function ReplaceFrame (
index As Integer,
frameToReplace As TiffFrame
) As TiffFrame
public:
TiffFrame^ ReplaceFrame(
int index,
TiffFrame^ frameToReplace
)
member ReplaceFrame :
index : int *
frameToReplace : TiffFrame -> TiffFrame
Parameters
- index
- Type: SystemInt32
The zero based frame position. - frameToReplace
- Type: Aspose.Imaging.FileFormats.TiffTiffFrame
The frame to replace.
Return Value
Type:
TiffFrameThe removed frame.
Remarks
Note: do not forget to Dispose the frame if you will not add it to some other TiffImage.
See Also