Class EncoderParameter
Represents a single parameter for an image encoder.
Implements
Inherited Members
Namespace: DRIT.Drawing.Imaging
Assembly: DRIT.Drawing.dll
Syntax
public sealed class EncoderParameter : IDisposable
Constructors
EncoderParameter(Encoder, byte[])
Initializes a new EncoderParameter with a byte array value.
Declaration
public EncoderParameter(Encoder encoder, byte[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| Encoder | encoder | The encoder for this parameter. |
| byte[] | value | The byte array value. |
EncoderParameter(Encoder, long)
Initializes a new EncoderParameter with a long value.
Declaration
public EncoderParameter(Encoder encoder, long value)
Parameters
| Type | Name | Description |
|---|---|---|
| Encoder | encoder | The encoder for this parameter. |
| long | value | The long value. |
Properties
Encoder
Gets or sets the encoder GUID for this parameter.
Declaration
public Guid Encoder { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
NumberOfValues
Gets or sets the number of values in this parameter.
Declaration
public int NumberOfValues { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Type
Gets or sets the type of the parameter value.
Declaration
public int Type { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Dispose()
Releases resources used by the EncoderParameter.
Declaration
public void Dispose()