EncoderParameter Constructor (Encoder, Int32, Int32, Int32) (System.Drawing.Imaging)

Switch View :
ScriptFree
.NET Framework Class Library
EncoderParameter Constructor (Encoder, Int32, Int32, Int32)

Initializes a new instance of the EncoderParameter class with the specified Encoder object and three integers that specify the number of values, the data type of the values, and a pointer to the values stored in the EncoderParameter object.

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

Visual Basic
Public Sub New ( _
	encoder As Encoder, _
	NumberOfValues As Integer, _
	Type As Integer, _
	Value As Integer _
)
C#
public EncoderParameter(
	Encoder encoder,
	int NumberOfValues,
	int Type,
	int Value
)
Visual C++
public:
EncoderParameter(
	Encoder^ encoder, 
	int NumberOfValues, 
	int Type, 
	int Value
)
F#
new : 
        encoder:Encoder * 
        NumberOfValues:int * 
        Type:int * 
        Value:int -> EncoderParameter

Parameters

encoder
Type: System.Drawing.Imaging.Encoder
An Encoder object that encapsulates the globally unique identifier of the parameter category.
NumberOfValues
Type: System.Int32
An integer that specifies the number of values stored in the EncoderParameter object. The NumberOfValues property is set to this value.
Type
Type: System.Int32
A member of the EncoderParameterValueType enumeration that specifies the data type of the values stored in the EncoderParameter object. The Type and ValueType properties are set to this value.
Value
Type: System.Int32
A pointer to an array of values of the type specified by the Type parameter.
Version Information

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference