EncoderParameter Constructor (Encoder^, Int16)

 

Initializes a new instance of the EncoderParameter class with the specified Encoder object and one, 16-bit integer. Sets the ValueType property to ValueTypeShort, and sets the NumberOfValues property to 1.

Namespace:   System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

public:
EncoderParameter(
	Encoder^ encoder,
	short value
)

Parameters

encoder
Type: System.Drawing.Imaging::Encoder^

An Encoder object that encapsulates the globally unique identifier of the parameter category.

value
Type: System::Int16

A 16-bit integer that specifies the value stored in the EncoderParameter object. Must be nonnegative.

.NET Framework
Available since 1.1
Return to top
Show: