SvgImage Class
A vector image.
Namespace: DevExpress.Utils.Svg
Assembly: DevExpress.Data.v19.1.dll
Declaration
Remarks
There are two easy ways to assign DevExpress Vector icons to controls:
- assign them at design time with the Image Picker panel;
- fill the SvgImageCollection with vector icons and assign them to required controls using collection indexers.
If none of these approaches suit your needs, create the SvgImage object manually. To do that, call one of available From… methods.
SvgImage img1 = SvgImage.FromFile("Data\MyImage.svg");
SvgImage img2 = SvgImage.FromResources("MyImage2.svg", typeof(mainForm).Assembly);
Refer to the How To: Draw and Use SVG Images article to learn about vector icon limitations and guidelines.
Inheritance
Object
SvgImage
See Also