Introduced in QPR 7.3.1
Last changed in QPR 2012.2
Stores the graphical image of a selected diagram 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 diagram 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 enchanced metafile format.
Options: String. A ";" separated list of additional parameters. The following options are supported:
|•||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 diagram.
Below are listed the return values that this function can return:
iResult = PGModel.GetGraph(2345,"C:\temp\flowchart.png", _