Excel.Interfaces.ImageLoadOptions interface
表示工作表中的图像。 若要获取相应的 Shape 对象,请使用 Image.shape。
注解
属性
| $all |
|
| brightness | 指定图像的亮度。 此属性的值必须是介于 0.0 (最暗) 到 1.0 (最亮)。 |
| color |
指定应用于图像的颜色转换的类型。 |
| contrast | 指定图像的对比度。 此属性的值必须是数字从 0.0 (最小的对比度) 到 1.0 (最大对比度)。 |
| crop |
指定从图像底部裁剪的点数。 |
| crop |
指定从图像左侧裁剪的点数。 |
| crop |
指定从图像右侧裁剪的点数。 |
| crop |
指定从图像顶部裁剪的点数。 |
| format | 返回图像的格式。 |
| id | 指定图像对象的形状标识符。 |
| shape | 返回与 |
属性详细信息
$all
$all为加载选项指定将加载所有标量属性 ((例如Range.address) ,但不加载导航属性 (如 Range.format.fill.color) )。
$all?: boolean;
属性值
boolean
brightness
指定图像的亮度。 此属性的值必须是介于 0.0 (最暗) 到 1.0 (最亮)。
brightness?: boolean;
属性值
boolean
注解
colorType
contrast
指定图像的对比度。 此属性的值必须是数字从 0.0 (最小的对比度) 到 1.0 (最大对比度)。
contrast?: boolean;
属性值
boolean
注解
cropBottom
cropLeft
cropRight
cropTop
format
id
shape
返回与 Shape 图像关联的 对象。
shape?: Excel.Interfaces.ShapeLoadOptions;