Gets or sets the number of passes (scans through the image) when loading a progressive image (JPEG mainly).
Syntax
Visual Basic (Declaration) | |
---|
Public Property Passes As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As CodecsLoadOptions
Dim value As Integer
instance.Passes = value
value = instance.Passes
|
C# | |
---|
public int Passes {get; set;} |
Managed Extensions for C++ | |
---|
public: __property int get_Passes();
public: __property void set_Passes(
int value
); |
C++/CLI | |
---|
public:
property int Passes {
int get();
void set (int value);
} |
Return Value
The number of passes (scans through the image) when loading a progressive image.
Value | Meaning |
Any positive number. | Load a progressive file showing at most the specified number of passes. |
0 | Load the file in one pass. |
-1 | Load a progressive file showing only significant scans. |
-2 | Load a progressive file showing all the scans. |
Example
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also