Initializing help system before first use

svgaddfile

svgaddfile


Purpose
Add a file to a graph.
Synopsis
procedure svgaddfile(fname: string, fid: string)
Arguments
fname 
Filename (including path) of the file to be included.
fid 
Name for the file used within the SVG graph.
Example
The following code adds an image file to the current graph and displays it in an area with corner points at the coordinates (100,100) and (250,250).
svgaddfile("./someimage.png", "myimg.png")
svgaddimage("myimg.png", 100, 100, 150, 150)
Further information
1. This routine is typically used in combination with svgaddimage to associate some external file with the graph.
2. Using an empty file name fname will remove the corresponding fid from the file database.
Related topics