Clone

TgaImage.Clone method (1 of 2)

Produces a duplicate of the current instance, generating a new object that clones all attributes and properties of the original. This method facilitates the creation of identical copies, ensuring data integrity and preserving the state of the current instance without affecting the original object.

public TgaImage Clone()

Return Value

Returns a new object that is a copy of the current instance.

See Also


TgaImage.Clone method (2 of 2)

Replicate the properties of another TgaImage object, creating a new instance with identical attributes. This operation ensures the preservation of data integrity and facilitates the duplication of image properties without altering the source object.

public void Clone(TgaImage tgaImage)
ParameterTypeDescription
tgaImageTgaImageOther TgaImage

See Also