See Also Examples Applies To
Saves the native image into a one dimention bytes array.
Syntax
object.SaveAsByteArray (*arBytes(), *nBitsRead, sImageFormat, nEncoderParameter)
The SaveAsByteArray syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| *arBytes() | Required. Output Byte Array. |
| *nBitsRead | Required. Long. Output: The number of bytes writed into the arBytes() array. |
| sImageFormat | Required. String. Image format: "bmp" or "jpg" or "gif" or "png" or "tif". |
| nEncoderParameter |
Optional. Long. Default value is 0. Can be jpeg quality between 1 and 100 for "jpg" image format. Can be compression value for tif image: 6:None, 5:RLE, 4:CCITT4, 3:CCITT3, 2:LZW. |
Returns
Remarks
The GdTwainStatus constants are defined HERE
Category
Saving, Export and Close Image