EncoderParameters Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encapsulates an array of EncoderParameter objects.
public ref class EncoderParameters sealed : IDisposable
public sealed class EncoderParameters : IDisposable
type EncoderParameters = class
interface IDisposable
Public NotInheritable Class EncoderParameters
Implements IDisposable
- Inheritance
-
EncoderParameters
- Implements
Remarks
Note
In .NET 6 and later versions, the System.Drawing.Common package, which includes this type, is only supported on Windows operating systems. Use of this type in cross-platform apps causes compile-time warnings and run-time exceptions. For more information, see System.Drawing.Common only supported on Windows.
Constructors
EncoderParameters() |
Initializes a new instance of the EncoderParameters class that can contain one EncoderParameter object. |
EncoderParameters(Int32) |
Initializes a new instance of the EncoderParameters class that can contain the specified number of EncoderParameter objects. |
Properties
Param |
Gets or sets an array of EncoderParameter objects. |
Methods
Dispose() |
Releases all resources used by this EncoderParameters object. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |