<PackageReference Include="System.Drawing.Common" Version="5.0.0-preview.4.20251.6" />

EncoderParameter

public sealed class EncoderParameter : IDisposable
namespace System.Drawing.Imaging { public sealed class EncoderParameter : IDisposable { public Encoder Encoder { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } set { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } } public int NumberOfValues { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } } public EncoderParameterValueType Type { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } } public EncoderParameterValueType ValueType { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } } public EncoderParameter(Encoder encoder, byte value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, byte value, bool undefined) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, byte[] value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, byte[] value, bool undefined) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, short value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, short[] value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, int numberValues, EncoderParameterValueType type, IntPtr value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, int numerator, int denominator) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } [Obsolete("This constructor has been deprecated. Use EncoderParameter(Encoder encoder, int numberValues, EncoderParameterValueType type, IntPtr value) instead. http://go.microsoft.com/fwlink/?linkid=14202")] public EncoderParameter(Encoder encoder, int NumberOfValues, int Type, int Value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, int numerator1, int demoninator1, int numerator2, int demoninator2) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, int[] numerator, int[] denominator) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, int[] numerator1, int[] denominator1, int[] numerator2, int[] denominator2) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, long value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, long rangebegin, long rangeend) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, long[] value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, long[] rangebegin, long[] rangeend) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public EncoderParameter(Encoder encoder, string value) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_Drawing); } public void Dispose() { } } }