PeachBrackets
PeachBrackets.Building.DocumentNode
DocumentNode.SetSvgContent(Func<Size,string>) Method
Gives an image node a vector picture made when its size is known: generator is called with the size, in points, the node ends up at, and returns SVG markup.
public void SetSvgContent(System.Func<PeachDrawing.Core.Size,string> generator);
Parameters
generator System.Func<Size,System.String>
makes the SVG markup for a size in points
Exceptions
System.InvalidOperationException
the node is not an image