XImageCollection.Replace

Replace(int, Stream)

Replace image in collection with another image.

public void Replace(int index, Stream stream)
ParameterTypeDescription
indexInt32Index of collection item which will be replaced.
streamStreamStream containing image data (in JPEG format).

See Also


Replace(int, Stream, int, bool)

Replace image in collection with another image.

public void Replace(int index, Stream stream, int quality, bool isBlackAndWhite)
ParameterTypeDescription
indexInt32Index of collection item which will be replaced.
streamStreamStream containing image data (in JPEG format).
qualityInt32Quality of JPEG compression, in percent (valid vaues are 0..100).
isBlackAndWhiteBooleanIf true, image is compressed with CCITT compression method which provides better compression for black nad white image. May be used only for black and white images.

See Also


Replace(int, Stream, int)

Replace image in collection with another image.

public void Replace(int index, Stream stream, int quality)
ParameterTypeDescription
indexInt32Index of collection item which will be replaced.
streamStreamStream containing image data (in JPEG format).
qualityInt32JPEG quality.

See Also