Method FromSvgUrlForToolbar
FromSvgUrlForToolbar(string, AbstractControl, Color?)
Initializes a new instance of the ImageSet class from the specified url which points to svg file or resource.
public static ImageSet FromSvgUrlForToolbar(string url, AbstractControl control, Color? color = null)
Parameters
urlstringThe file or embedded resource url with Svg data used to load the image.
controlAbstractControlControl which GetDPI() method is used to get DPI.
colorColorSvg fill color. Optional. If provided, svg fill color is changed to the specified value.
Returns
Remarks
This is similar to FromSvgUrl(string, int, int, Color?) but uses GetDPI() and GetDefaultImageSize(double) to get appropriate image size which is best suitable for toolbars.