SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface ImageJSON

    An image fill: a workbook resource stretched over the shape or tiled across it.

    resId names the resource the way IPicture.JSON.resId names a placed picture's image and, like it, is meaningful only inside the persist scope the JSON was made in. A shape resolves it to the resource when it is created and names the resource again when it is serialized.

    interface ImageJSON {
        compressionState?: string;
        dpi?: number;
        extLst?: string;
        isRotatedWithShape?: boolean;
        resId?: number;
        sourceRect?: RectInsets;
        stretch?: RectInsets;
        tile?: ImageTileProperties;
        type: IFill.Type;
    }

    Hierarchy (View Summary)

    Index
    compressionState?: string

    The compression the image was stored for (blip/@cstate): email, screen, print, hqprint, none.

    dpi?: number

    The resolution the image is rendered at, in dots per inch (dpi); 0 for the image's own.

    extLst?: string

    blip/extLst as the file states it: an opaque DrawingML fragment, written back as it was.

    isRotatedWithShape?: boolean
    resId?: number

    The resource id of the image.

    sourceRect?: RectInsets

    The part of the image used (srcRect), as insets from its edges. Absent for the whole image.

    stretch?: RectInsets

    The image is stretched to a rectangle inset from the shape's bounds (stretch/fillRect); {} for the whole shape. Absent when the image is tiled.

    The image is tiled (tile). Absent when it is stretched.

    type: IFill.Type