ComponentOne Chart 8.0 for ActiveX
SaveImageAsJpegBytes Method (Chart3D)

 

SaveImageAsJpegBytes Method (Chart3D)

Performs the same as the existing function SaveImageAsJpeg() except that the image data is not saved to a file, but is returned in a Byte array (memory only) if successful and Empty if it fails.

Syntax

Function SaveImageAsJpegBytes(Quality As Long, GrayScale As Boolean, OptimizeCompression As Boolean, ProgressiveJpeg As Boolean)

 

Part

Type

Description

Quality

Long

A value from 0 to 100. The larger the value, the better the image quality (but a larger file size).

GrayScale

Boolean

GrayScale has a value of True if the image is to be saved as a grayscale. A grayscale image is composed of 256 shades of gray.

OptimizeCompression

Boolean

Set to True to optimize the compression, resulting in a smaller file size (but longer load time).

ProgressiveJpeg

Boolean

Set to True to create a JPEG that will display incrementally.

 

See Also

Chart3D Object

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback