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