Skip to content
Spreadsheet Editor

BlipFill

type BlipFill = {
alpha?: Percentage;
dpi?: integer;
mediaId: string;
rotWithShape?: boolean;
srcRect?: RelativeRect;
stretchRect?: RelativeRect;
tile?: Tile;
type: "blip";
};
Property Type Default value Description
alpha? Percentage 0 Opacity value (0-100, where 100 is fully opaque). Min 0 Max 100
dpi? integer undefined The DPI used to calculate the size of the blip. When this value is not present the DPI in the blip is used.
mediaId string undefined Reference to the media/image resource to use for this fill. See Workbook.images.
rotWithShape? boolean undefined Whether the blip should rotate when the shape is rotated.
srcRect? RelativeRect undefined Rectangle defining the source crop area of the image (relative coordinates).
stretchRect? RelativeRect undefined Rectangle defining how the image should be stretched to fill the shape (relative coordinates).
tile? Tile undefined Tiling properties for repeating the image pattern across the fill area.
type "blip" undefined Type discriminator for blip (image) fills.