Introduced in QPR 7.3.1
Last changed in QPR 8.1
Stores the graphical image of a selected flow chart to the file GraphFileName. GraphFileName i.e. Graphics File Name with the full path is given as a parameter. Additional options can also be defined in the function call.
PGModel.GetGraph(ElementId, GraphFileName, Options)
ElementId: Integer. ID of the desired element. In the case this is 0, the top level flow chart is stored.
GraphFileName: String. Graph file name with a full path included. In the case this parameter is empty, the graph is placed on the clipboard in BMP + metafile format.
Options: String. A ";" separated list of additional parameters. The following options are supported:
•WMF (Windows metafile)
•JPG (Jpeg, default)
•<View Settings ID> Integer. Sets the view setting identified by <View Settings ID> to the graph that is generated. If a view settings ID is not given, an "all visible" view setting is is used.
View rights to the process level.
Below are listed the return values that this function can return:
iResult = PGModel.GetGraph(2345,"C:\temp\flowchart.png", _