Export (0) Print
Expand All

EncoderParameter.EncoderParameter(Encoder, Int64[]) Constructor

Initializes a new instance of the EncoderParameter class with the specified Encoder object and an array of 64-bit integers. Sets the ValueType property to ValueTypeLong (32-bit), and sets the NumberOfValues property to the number of elements in the array.

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

public EncoderParameter (
	Encoder encoder,
	long[] value
public EncoderParameter (
	Encoder encoder, 
	long[] value
public function EncoderParameter (
	encoder : Encoder, 
	value : long[]
Not applicable.



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


An array of 64-bit integers that specifies the values stored in the EncoderParameter object. The integers in the array must be nonnegative. The 64-bit integers are converted to 32-bit integers before they are stored in the EncoderParameter object.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

© 2014 Microsoft