Copies the snapshot to the specified range.
The destination ICellRange where the snapshot will be copied.
Optionaloptions: ICellRange.CopyOptionsThe coordinates the copy covered, or null when it placed no cells.
The copy is made inside the paste's transaction, so it completes synchronously; anything that has to wait belongs in prepare.
OptionalgetRetrieves the coordinates that bound the current snapshot.
The IRange.Coords defining the bounds of the snapshot.
Return the options used when creating.
OptionalgetA user friendly name of a the snapshot item.
The source that created the snapshot. This is used by copy to quickly do comparisons.
OptionalprepareDoes the asynchronous work a paste needs, before copyTo is called.
The ICellRange the snapshot will be copied to, as the caller gave it.
Optionaloptions: ICellRange.CopyOptionsICellRange.copyFrom calls this first, outside any transaction, and then copyTo inside
the paste's transaction. Anything that has to wait - loading a kind of content, decoding an
image - is done here, so that copyTo can complete synchronously. A snapshot with nothing
to wait for leaves this out, or returns void; the paste then runs to its commit in the
caller's synchronous extent.
OptionaltoConverts the snapshot to an HTML representation.
A string or promise resolving to the HTML representation of the snapshot.
OptionaltoConverts the snapshot to an image blob.
A Blob or promise resolving to the image representation of the snapshot.
OptionaltoOptionaltoConverts the snapshot to a plain text representation.
A string or promise resolving to the text representation of the snapshot.
Represents an immutable reference to an
ICellRange, capturing its content and metadata. It may include complex objects such as tables, movables, images, listeners, or other items.ISnapshotcan be provided toICellRange.copyFrom.