EncoderParameters

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IDisposable

public final class EncoderParameters implements System.IDisposable

Encapsulates an array of EncoderParameter objects.

Constructors

ConstructorDescription
EncoderParameters(int count)Initializes a new instance of the EncoderParameters class that can contain the specified number of EncoderParameter objects.
EncoderParameters()Initializes a new instance of the EncoderParameters class that can contain one EncoderParameter object.

Methods

MethodDescription
getParam()Gets or sets an array of EncoderParameter objects.
setParam(EncoderParameter[] value)Gets or sets an array of EncoderParameter objects.
dispose()Releases all resources used by this EncoderParameters object.

EncoderParameters(int count)

public EncoderParameters(int count)

Initializes a new instance of the EncoderParameters class that can contain the specified number of EncoderParameter objects.

Parameters:

ParameterTypeDescription
countintAn integer that specifies the number of EncoderParameter objects that the EncoderParameters object can contain.

EncoderParameters()

public EncoderParameters()

Initializes a new instance of the EncoderParameters class that can contain one EncoderParameter object.

getParam()

public EncoderParameter[] getParam()

Gets or sets an array of EncoderParameter objects.

Returns: com.aspose.drawing.imaging.EncoderParameter[] - The array of EncoderParameter objects.

setParam(EncoderParameter[] value)

public void setParam(EncoderParameter[] value)

Gets or sets an array of EncoderParameter objects.

Parameters:

ParameterTypeDescription
valueEncoderParameter[]

dispose()

public void dispose()

Releases all resources used by this EncoderParameters object.