Determines whether the generated Flash file will be protected or not.

object.IsSWFProtected 

Arguments

object
Required. A Chart object.

Return Value

If the generated Flash file will be protected, this method returns true; otherwise, it returns false.

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 protection if it is enabled.

chart.SetSeparators ";", true
chart.SetDataFromQuery
chart.LoadStyle "C:\myStyle.scs"

'If the Flash movie is protected, disable protection 
If chart.IsSWFProtected Then
  chart.ProtectSWF false
End If

chart.ExportAsResponse

See Also

ProtectSWF Method

Applies To: Chart Object