corelibraries-devexpress-dot-utils-dot-svg.md
A vector image.
Namespace : DevExpress.Utils.Svg
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public class SvgImage :
ISvgImage,
ICloneable,
ISerializable
Public Class SvgImage
Implements ISvgImage,
ICloneable,
ISerializable
The following members return SvgImage objects:
Show 36 links
The following members return SvgImage objects:
Show 34 links
There are two easy ways to assign DevExpress Vector icons to controls:
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);
Dim img1 As SvgImage = SvgImage.FromFile("Data\MyImage.svg")
Dim img2 As SvgImage = SvgImage.FromResources("MyImage2.svg", GetType(mainForm).Assembly)
Refer to the How To: Draw and Use SVG Images article to learn about vector icon limitations and guidelines.
Object SvgImage
See Also