Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 4
 EncoderParameter Constructor (Encod...
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2010/.NET Framework 4

Other versions are also available for the following:
.NET Framework Class Library
EncoderParameter Constructor (Encoder, Int64, Int64)

Initializes a new instance of the EncoderParameter class with the specified Encoder object and a pair of 64-bit integers. The pair of integers represents a range of integers, the first integer being the smallest number in the range, and the second integer being the largest number in the range. Sets the ValueType property to ValueTypeLongRange, and sets the NumberOfValues property to 1.

Namespace:  System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)
Visual Basic
Public Sub New ( _
    encoder As Encoder, _
    rangebegin As Long, _
    rangeend As Long _
)
C#
public EncoderParameter(
    Encoder encoder,
    long rangebegin,
    long rangeend
)
Visual C++
public:
EncoderParameter(
    Encoder^ encoder, 
    long long rangebegin, 
    long long rangeend
)
F#
new : 
        encoder:Encoder * 
        rangebegin:int64 * 
        rangeend:int64 -> EncoderParameter

Parameters

encoder
Type: System.Drawing.Imaging..::.Encoder
An Encoder object that encapsulates the globally unique identifier of the parameter category.
rangebegin
Type: System..::.Int64
A 64-bit integer that represents the smallest number in a range of integers. Must be nonnegative. This parameter is converted to a 32-bit integer before it is stored in the EncoderParameter object.
rangeend
Type: System..::.Int64
A 64-bit integer that represents the largest number in a range of integers. Must be nonnegative. This parameter is converted to a 32-bit integer before it is stored in the EncoderParameter object.

.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

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.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker