DekGenius.com
[ Team LiB ] Previous Section Next Section

EncoderParametersdisposable

System.Drawing.Imaging (system.drawing.dll)sealed class

This class implements a collection of EncoderParameter objects. It is used to pass a set of parameters to the Image.Save() method.

Unlike regular collection classes, you can only get or set the contents through the Param property.

public sealed class EncoderParameters : IDisposable {
// Public Constructors
   public EncoderParameters();
   public EncoderParameters(int count);
// Public Instance Properties
   public EncoderParameter[ ] Param{set; get; }
// Public Instance Methods
   public void Dispose();  // implements IDisposable
}

Returned By

System.Drawing.Image.GetEncoderParameterList()

Passed To

System.Drawing.Image.{Save(), SaveAdd()}

    [ Team LiB ] Previous Section Next Section