Excel.Interfaces.HeaderFooterPictureUpdateData interface
An interface for updating data on the HeaderFooterPicture object, for use in headerFooterPicture.set({ ... }).
Properties
| brightness | Specifies the brightness of the picture. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest). |
| color |
Specifies the type of color transformation of the picture. |
| contrast | Specifies the contrast of the picture. The value for this property must be a number from 0.0 (least contrast) to 1.0 (most contrast). |
| crop |
Specifies the number of points that are cropped off the bottom of the picture. |
| crop |
Specifies the number of points that are cropped off the left side of the picture. |
| crop |
Specifies the number of points that are cropped off the right side of the picture. |
| crop |
Specifies the number of points that are cropped off the top of the picture. |
| filename | Specifies the URL (on the intranet or the web) or path (local or network) to the location where the source object is saved. |
| height | Specifies the height of the picture in points. |
| lock |
Specifies a value that indicates whether the picture retains its original proportions when resized. |
| width | Specifies the width of the picture in points. |
Property Details
brightness
Specifies the brightness of the picture. 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 of the picture.
colorType?: Excel.PictureColorType | "Mixed" | "Automatic" | "GrayScale" | "BlackAndWhite" | "Watermark";
Property Value
Excel.PictureColorType | "Mixed" | "Automatic" | "GrayScale" | "BlackAndWhite" | "Watermark"
Remarks
contrast
Specifies the contrast of the picture. The value for this property must be a number from 0.0 (least contrast) to 1.0 (most contrast).
contrast?: number;
Property Value
number
Remarks
cropBottom
Specifies the number of points that are cropped off the bottom of the picture.
cropBottom?: number;
Property Value
number
Remarks
cropLeft
Specifies the number of points that are cropped off the left side of the picture.
cropLeft?: number;
Property Value
number
Remarks
cropRight
Specifies the number of points that are cropped off the right side of the picture.
cropRight?: number;
Property Value
number
Remarks
cropTop
Specifies the number of points that are cropped off the top of the picture.
cropTop?: number;
Property Value
number
Remarks
filename
Specifies the URL (on the intranet or the web) or path (local or network) to the location where the source object is saved.
filename?: string;
Property Value
string
Remarks
height
Specifies the height of the picture in points.
height?: number;
Property Value
number
Remarks
lockAspectRatio
Specifies a value that indicates whether the picture retains its original proportions when resized. true if it retains its proportions; otherwise, false.
lockAspectRatio?: boolean;
Property Value
boolean
Remarks
width
Specifies the width of the picture in points.
width?: number;
Property Value
number