Excel.Interfaces.HeaderFooterPictureUpdateData interface
用于更新对象上的 HeaderFooterPicture 数据的接口,用于 在 中使用 headerFooterPicture.set({ ... })。
属性
| brightness | 指定图片的亮度。 此属性的值必须是介于 0.0 (最暗) 到 1.0 (最亮)。 |
| color |
指定图片的颜色转换类型。 |
| contrast | 指定图片的对比度。 此属性的值必须是从 0.0 (最低对比度) 到 1.0 (最大对比度) 的数字。 |
| crop |
指定从图片底部裁剪的点数。 |
| crop |
指定从图片左侧裁剪的点数。 |
| crop |
指定从图片右侧裁剪的点数。 |
| crop |
指定从图片顶部裁剪的点数。 |
| filename | 指定 intranet 或 Web) 或路径上的 URL (, (本地或网络) 源对象的保存位置。 |
| height | 指定图片的高度(以磅为单位)。 |
| lock |
指定一个值,该值指示图片在调整大小时是否保留其原始比例。
|
| width | 指定图片的宽度(以磅为单位)。 |
属性详细信息
brightness
指定图片的亮度。 此属性的值必须是介于 0.0 (最暗) 到 1.0 (最亮)。
brightness?: number;
属性值
number
注解
colorType
指定图片的颜色转换类型。
colorType?: Excel.PictureColorType | "Mixed" | "Automatic" | "GrayScale" | "BlackAndWhite" | "Watermark";
属性值
Excel.PictureColorType | "Mixed" | "Automatic" | "GrayScale" | "BlackAndWhite" | "Watermark"
注解
contrast
指定图片的对比度。 此属性的值必须是从 0.0 (最低对比度) 到 1.0 (最大对比度) 的数字。
contrast?: number;
属性值
number
注解
cropBottom
cropLeft
cropRight
cropTop
filename
指定 intranet 或 Web) 或路径上的 URL (, (本地或网络) 源对象的保存位置。
filename?: string;
属性值
string
注解
height
lockAspectRatio
指定一个值,该值指示图片在调整大小时是否保留其原始比例。
true 如果保留其比例,则为 ;否则为 false。
lockAspectRatio?: boolean;
属性值
boolean