Initializing help system before first use

svggetgraphstyle

svggetgraphstyle


Purpose
Retrieve a style property of a graph.
Synopsis
function svggetgraphstyle(prop: string):text
Argument
prop 
The desired property ( mmsvg constant or SVG property name).
Return value
Value of the property or empty string.
Example
This code retrieves the font family defined for a graph and applies it to an object group.
svgaddgroup("g", "A group")
svgsetstyle("g", SVG_FONTFAMILY, svggetgraphstyle("b", SVG_FONTFAMILY))
Further information
This function can be used to retrieve a style property of a graph in order to apply it to some object or group of objects. Use svggetgraphstylesheet to retrieve the whole set of style properties of a graph.
Related topics