Determines whether the generated content (SVG or Flash) is to be compressed or not.

object.IsCompressed 

Arguments

object
Required. A Chart object.

Return Value

If the generated content (SVG or Flash) is to be compressed, this method returns true; otherwise, it returns false.

Remarks

This option only applies to SVG or Flash generated content.

Note: Flash Player 6 or higher is required for playing back a compressed Flash movie.

VBScript Sample Code

The following VBScript example sets the data and loads the graphics settings of a given chart object. Then it disables the SWF compression if it is enabled.

chart.SetDataFromQuery
chart.LoadStyle "C:\myStyle.scs"

'If the Flash movie is compressed, disable compression 
If chart.IsCompressed Then
  chart.SetCompressed false
End If

chart.ExportAsResponse

See Also

SetCompressed Method

Applies To: Chart Object