Retrieves the version of a chart object.

object.GetVersion( ) 

Arguments

object
Required. A Chart object.

Return Value

The GetVersion method returns a string value that contains the version of the Swiff Chart Generator.
The string is formatted as "Major.Minor.Level.SubLevel". Example: "2.2.0.0".

JScript Sample Code

The following JScript code illustrates use of the GetVersion method in an ASP page.

// Create a new chart object 
var chart;
chart= Server.CreateObject("SwiffChartObject.ChartObj.1");

// Display its version in the HTML page 
Response.Write(chart.GetVersion());
Response.Write("<br>");

See Also

Chart Object

Applies To: Chart Object