%HI_SetGraphPrintTitle function


Old name
%HI_SetDiaTrendPrintTitle


Function
The function %HI_SetGraphPrintTitle sets the print title header of the displayer of the Graph or XY Graph types (Control function).
Declaration
%HI_SetGraphPrintTitle(
   INT in refId, 
   TEXT in printTitle
 ) 
Parameters
refIdReference to a displayer (RefID).
printTitleGraph title to print.
Description
The graph must be placed in the picture, where the parameter refId is the reference variable of the graph. The parameter printTitle is the print title of the graph.
Example

Procedure:
In the procedure, a title for printing is set and then the graph is printed.


ENTRY btn_OnClick
   %HI_SetGraphPrintTitle(_graph, "Print title") 
    %HI_PrintGO(_graph, @FALSE)
 END btn_OnClick 
Napíšte komentár