Namespace: GlobFX.SwiffChartGenerator
Assembly: GlobFX.SwiffChartGenerator (in GlobFX.SwiffChartGenerator.dll)

Specifies whether the generated Flash file should be protected or not.

Visual Basic
Public Property ProtectSWF As Boolean
C#
public bool ProtectSWF { get; set; }

Property Value

A boolean value that specifies whether the Flash file is protected or not.

Remarks

Default: the generated Flash animation is always protected.

If a Flash movie is marked as protected it cannot be imported into Adobe Flash Editor.

Sample Code

The following code illustrates use of the ProtectSWF property.

Visual Basic
chart.SetDataFromTxtFile("C:\\myData.txt")
chart.LoadStyle("C:\\myStyle.scs")

' Let's display an unprotected SWF movie 
chart.ProtectSWF = False
C#
chart.SetDataFromTxtFile("C:\\myData.txt");
chart.LoadStyle("C:\\myStyle.scs");

// Let's display an unprotected SWF movie 
chart.ProtectSWF= false;

Applies To: Chart Object