[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ImageSource.Stream

Stream Property

Stream

Gets the image stream.

Returns a new stream over the stored image bytes when this instance contains image data. If no image data is available, this property returns null.

Declaration
public Stream Stream { get; }
Public ReadOnly Property Stream As Stream
Examples
byte[] imageBytes = new byte[] { (byte)137, 80, 78, 71, 13, 10, 26, 10 };
ImageSource imageSource = new ImageSource(new MemoryStream(imageBytes), ImageType.PNG);
Stream stream = imageSource.Stream;