Skip to main content
A newer version of this page is available. .

SvgImage Members

A vector image.

Constructors

Name Description
SvgImage() This member supports the internal infrastructure, and is not intended to be used directly from your code.
SvgImage(Stream) Creates a vector image from the given stream.
SvgImage(Type, String) Creates a vector icon from a resource.

Properties

Name Description
DefaultStyle This member supports the internal infrastructure, and is not intended to be used directly from your code.
Elements Provides access to elements (primitives) from which this vector image consists.
Height Returns the image height.
OffsetX Returns the horizontal image offset.
OffsetY Returns the vertical image offset.
Root This member supports the internal infrastructure, and is not intended to be used directly from your code.
Styles This member supports the internal infrastructure, and is not intended to be used directly from your code.
Tag Gets or sets a unique image identifier.
UnknownTags Returns the collection of image tags that are not supported by DevExpress controls.
Width Returns the image width.

Methods

Name Description
Clone() Copies this vector icon.
Clone(Action<SvgElement, Hashtable>) You cannot modify SvgImage objects directly. Instead, you need to create their copies and modify them in process.
Create(SvgRoot) static This member supports the internal infrastructure, and is not intended to be used directly from your code.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FromFile(String) static Creates a new SvgImage object from a vector image on local storage.
FromResources(String, Assembly) static Creates a new SvgImage object from a vector image stored in project resources.
FromStream(Stream) static Creates a new SvgImage object from a vector image stored in a stream.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetTransform() This member supports the internal infrastructure, and is not intended to be used directly from your code.
GetType() Gets the Type of the current instance. Inherited from Object.
GetViewBoxTransform() This member supports the internal infrastructure, and is not intended to be used directly from your code.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Save(Stream)
Save(String) Saves this vector image to the specific file.
SetTransform(Matrix) This member supports the internal infrastructure, and is not intended to be used directly from your code.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also