[]
        
(Showing Draft Content)

GC.Spread.Sheets.ImageLayout

Enumeration: ImageLayout

Spread.Sheets.ImageLayout

Defines the background image layout.

example

var rowImage = "./css/images/quarter1.png";
sheet.getCell(1, -1).backgroundImage(rowImage);
sheet.getCell(1, -1).backgroundImageLayout(GC.Spread.Sheets.ImageLayout.center);

Table of contents

Enumeration members

Enumeration members

center

center = 1

Specifies that the background image displays in the center of the area.


none

none = 3

Specifies that the background image displays in the upper left corner of the area with its original size.


stretch

stretch = 0

Specifies that the background image fills the area.


zoom

zoom = 2

Specifies that the background image displays in the area with its original aspect ratio.