SvgPlottingUtilGetCurrentFontSize Method
Return the current font size, in pixels.
Namespace: SvgPlottingAssembly: SvgPlotting (in SvgPlotting.dll) Version: 25.2714.4126
public static float GetCurrentFontSize(
SvgImageItem svg,
HtmlNodeItem node
)
Public Shared Function GetCurrentFontSize (
svg As SvgImageItem,
node As HtmlNodeItem
) As Single
No code example is currently available or this language may not be supported.
- svg SvgImageItem
-
Reference to the SVG object in focus.
- node HtmlNodeItem
-
Reference to the node for which the active font size will be found.
Single
The current font size of the specified node, if legitimate. Otherwise,
15.9996 (12pt).
GetCurrentFontSize is similar to GetDocumentFontSize because they
both recurse backward up the chain through their parent predecessors.
However, GetDocumentFontSize will update each time it finds a
source closer to the root, while GetCurrentFontSize updates only
the first time backward it finds a source.