Skip to main content

ImageSource Members

An object that stores a specified image.

Constructors

Name Description
ImageSource(DXImage, Boolean) Initializes a new instance of the ImageSource class with specified settings.
ImageSource(DXImage) Initializes a new instance of the ImageSource class with specified settings.
ImageSource(SvgImage, Boolean) Creates an ImageSource object and sets its ImageSource.SvgImage property to the SVG image passed as a parameter.
ImageSource(SvgImage) Creates an ImageSource object and sets its ImageSource.SvgImage property to the image passed as a parameter.
ImageSource(Boolean, Byte[]) Initializes a new instance of the ImageSource class with specified settings.
ImageSource(String, String) For internal use.

Properties

Name Description
Image Returns an image.
IsEmpty Indicates whether the ImageSource object stores an image.
SvgImage Returns an SVG image.

Methods

Name Description
Clone()
Dispose() Disposes of the ImageSource.Image object and sets the ImageSource.SvgImage property to null.
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 ImageSource object.
FromFile(String) static Creates an ImageSource object and specifies its ImageSource.SvgImage or ImageSource.Image property depending on the image stored in the specified file.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current ImageSource object.
GetImageSize(Boolean, Boolean)
GetType() Gets the Type of the current instance. Inherited from Object.
IsNullOrEmpty(ImageSource) static Indicates whether the specified ImageSource object stores an image.
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.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also