WinStudio

SaveGraph Method

Applies To

IWSFormComponent interface, graph objects

Definition

Creates a file that contains user settings of properties for a graph component and saves the file to a local disk. Returns a Boolean value indicating whether the method was successfully applied.

Syntax

object.SaveGraph( )

  Part

  Description

object Required. A reference to a valid graph component object.

Remarks

A return value of:

Graph components retrieve properties from the .gsp file when a form opens.

The file name consists of the WinStudio user ID from the current session logon and the file extension .gsp (for example, MyUserID.gsp). By default, WinStudio saves the file in the client directory from which WinStudio.exe was opened (for example, C:\Program Files\Infor\SyteLine).

Example

Sub Main()
    ' Save the settings for a graph component named SalesGraph
    ThisForm.Components("SalesGraph").SaveGraph()
End Sub