ExcelImage class Worksheet

A picture embedded in a worksheet.

Read back via Sheet.images, or add one with Sheet.insertImage. On insert the format and intrinsic pixel size are detected from the bytes; the size can be overridden. Supported formats: PNG, JPEG, GIF, BMP, TIFF, WebP, ICO, and the EMF and WMF metafiles. The picture is anchored with its top-left corner at anchor.

Properties

anchor CellIndex
The cell whose top-left corner the image is anchored to.
final
bytes List<int>
The raw image bytes.
final
extension String
Lower-case format / media extension, one of png, jpeg, gif, bmp, tiff, webp, ico, emf, or wmf.
final
hashCode int
The hash code for this object.
no setterinherited
height int
Display height in pixels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Display width in pixels.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited