SheetXL - v0.8.0-beta.25
    Preparing search index...

    Class CellImage

    A picture as a cell value: what IMAGE() returns.

    It reads as nothing where a primitive is needed, so LEN, & and + over it are #VALUE!, and a reference carries it whole: =A1 over an image is the image.

    It holds where the picture comes from and, once they are in, the resource holding its bytes: IMAGE adds the picture it fetched, and a picture placed in a cell brings its own. The workbook saves a resource while a value holds it. A value with no resource fetches its source to draw.

    Immutable.

    Implements

    • IRichData
    Index
    Type: "image" = 'image'

    The name of the kind of every CellImage (CellImageKind).

    • get isIRichData(): true

      {@inheritDoc IRichData.isIRichData}

      Returns true

    • The text that describes the picture, for accessibility, or null.

      Returns string | null

    • {@inheritDoc IRichData.getKind}

      Returns IRichType

    • {@inheritDoc IRichData.getProperty}

      Parameters

      • _name: string

      Returns Scalar

    • The resource holding the picture's bytes, or null when it has none and fetches its source.

      Returns IResource | null

    • Where the picture comes from.

      Returns string

    • {@inheritDoc IRichData.toJSON}

      Parameters

      • OptionaltoResourceId: ToResourceId

      Returns JSON

    • {@inheritDoc IRichData.toString}

      Returns string