Excel.Interfaces.ImageLoadOptions interface
Represents an image in the worksheet. To get the corresponding Shape object, use Image.shape.
Remarks
Properties
| $all | Specifying |
| 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. |
| format | Returns the format of the image. |
| id | Specifies the shape identifier for the image object. |
| shape | Returns the |
Property Details
$all
Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).
$all?: boolean;
Property Value
boolean
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?: boolean;
Property Value
boolean
Remarks
colorType
Specifies the type of color transformation applied to the image.
colorType?: boolean;
Property Value
boolean
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?: boolean;
Property Value
boolean
Remarks
cropBottom
Specifies the number of points that are cropped off the bottom of the image.
cropBottom?: boolean;
Property Value
boolean
Remarks
cropLeft
Specifies the number of points that are cropped off the left side of the image.
cropLeft?: boolean;
Property Value
boolean
Remarks
cropRight
Specifies the number of points that are cropped off the right side of the image.
cropRight?: boolean;
Property Value
boolean
Remarks
cropTop
Specifies the number of points that are cropped off the top of the image.
cropTop?: boolean;
Property Value
boolean
Remarks
format
Returns the format of the image.
format?: boolean;
Property Value
boolean
Remarks
id
Specifies the shape identifier for the image object.
id?: boolean;
Property Value
boolean
Remarks
shape
Returns the Shape object associated with the image.
shape?: Excel.Interfaces.ShapeLoadOptions;