ComponentOne Chart 8.0 for ActiveX
SaveImageAsJpeg Method (Chart2D)

 

SaveImageAsJpeg Method (Chart2D)

Saves the chart as a JPEG image file.

Syntax

Function SaveImageAsJpeg(FileName As String, Quality As Long, GrayScale As Boolean, OptimizeCompression As Boolean, ProgressiveJpeg As Boolean) As Boolean

Remarks

Returns True on success, False on failure.

 

Part

Type

Description

FileName

String

The path and file name of the image to be stored.

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

Chart2D Object

 

 


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

Product Support Forum  |  Documentation Feedback