Replace

Replace(int, Stream)

Replace image in collection with another image.

public void Replace(int index, Stream stream)
Parameter Type Description
index Int32 Index of collection item which will be replaced.
stream Stream Stream 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)
Parameter Type Description
index Int32 Index of collection item which will be replaced.
stream Stream Stream containing image data (in JPEG format).
quality Int32 Quality of JPEG compression, in percent (valid vaues are 0..100).
isBlackAndWhite Boolean If 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)
Parameter Type Description
index Int32 Index of collection item which will be replaced.
stream Stream Stream containing image data (in JPEG format).
quality Int32 JPEG quality.

See Also