Excel.Interfaces.ImageUpdateData interface
An interface for updating data on the Image object, for use in image.set({ ... }).
Properties
| brightness | Specifies the brightness of the image. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest). |
| color |
Specifies the type of color transformation applied to the image. |
| contrast | Specifies the contrast of the image. The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast). |
| crop |
Specifies the number of points that are cropped off the bottom of the image. |
| crop |
Specifies the number of points that are cropped off the left side of the image. |
| crop |
Specifies the number of points that are cropped off the right side of the image. |
| crop |
Specifies the number of points that are cropped off the top of the image. |
Property Details
brightness
Specifies the brightness of the image. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest).
brightness?: number;
Property Value
number
Remarks
colorType
Specifies the type of color transformation applied to the image.
colorType?: Excel.PictureColorType | "Mixed" | "Automatic" | "GrayScale" | "BlackAndWhite" | "Watermark";
Property Value
Excel.PictureColorType | "Mixed" | "Automatic" | "GrayScale" | "BlackAndWhite" | "Watermark"
Remarks
contrast
Specifies the contrast of the image. The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast).
contrast?: number;
Property Value
number
Remarks
cropBottom
Specifies the number of points that are cropped off the bottom of the image.
cropBottom?: number;
Property Value
number
Remarks
cropLeft
Specifies the number of points that are cropped off the left side of the image.
cropLeft?: number;
Property Value
number
Remarks
cropRight
Specifies the number of points that are cropped off the right side of the image.
cropRight?: number;
Property Value
number
Remarks
cropTop
Specifies the number of points that are cropped off the top of the image.
cropTop?: number;
Property Value
number