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

ImageSource Methods

An object that stores a specified image.
Name Description
Dispose() Disposes 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) Gets floating-point width and height of the image the ImageSource object stores.
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