<PackageReference Include="System.Drawing.Common" Version="8.0.0-preview.4.23259.4" />

EncoderParameter

public sealed class EncoderParameter : IDisposable
Used to pass a value, or an array of values, to an image encoder.
using System.Runtime.CompilerServices; namespace System.Drawing.Imaging { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public sealed class EncoderParameter : IDisposable { public Encoder Encoder { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public int NumberOfValues { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public EncoderParameterValueType Type { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public EncoderParameterValueType ValueType { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public EncoderParameter(Encoder encoder, byte value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, byte value, bool undefined) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, byte[] value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, byte[] value, bool undefined) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, short value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, short[] value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, int numberValues, EncoderParameterValueType type, IntPtr value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, int numerator, int denominator) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Obsolete("This constructor has been deprecated. Use EncoderParameter(Encoder encoder, int numberValues, EncoderParameterValueType type, IntPtr value) instead.")] public EncoderParameter(Encoder encoder, int NumberOfValues, int Type, int Value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, int numerator1, int demoninator1, int numerator2, int demoninator2) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, int[] numerator, int[] denominator) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, int[] numerator1, int[] denominator1, int[] numerator2, int[] denominator2) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, long value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, long rangebegin, long rangeend) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, long[] value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, long[] rangebegin, long[] rangeend) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public EncoderParameter(Encoder encoder, string value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void Dispose() { } ~EncoderParameter() { } } }