Visual Basic (Declaration) | |
---|---|
Public Property Passes As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Passes {get; set;} |
Return Value
The number of passes (scans through the image) when saving a progressive JPEG or LEAD CMP file.For an example, refer to CodecsJpegOptions.
The value can be one of the following:
Value | Meaning |
---|---|
Any positive number > 1. | Save the file as a progressive file with the specified number of passes. |
1 | Save a regular file with optimized Huffman tables. Use this for smaller file size (at the expense of speed). |
0 | Save the file as an ordinary JPEG or LEAD CMP file (not a progressive file). |
Any negative number. | Save the file as a progressive file with the LEADTOOLS default number of passes. |
.Passes
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6