Class ImageSource
Encapsulates data needed for creation of an image
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Media
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class ImageSource : IResource
Constructors
ImageSource(Byte[], String)
Initializes a new instance of the Image
Declaration
public ImageSource(byte[] data, string extension)
Parameters
System. Byte array containing representation of the image source. |
System. The image file extension. |
ImageSource(Stream, String)
Initializes a new instance of the Image
Declaration
public ImageSource(Stream stream, string extension)
Parameters
System. The stream which represents the image. |
System. The format of the image. |
Properties
Data
Gets the byte array representation of the image source.
Declaration
public virtual byte[] Data { get; }
Property Value
System. The byte array representation of the image source. |
Extension
Gets the image file extension.
Declaration
public virtual string Extension { get; }
Property Value
System. The image file extension. |