Edit

Share via


Excel.Interfaces.HeaderFooterPictureData interface

An interface describing the data returned by calling headerFooterPicture.toJSON().

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).

colorType

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).

cropBottom

Specifies the number of points that are cropped off the bottom of the picture.

cropLeft

Specifies the number of points that are cropped off the left side of the picture.

cropRight

Specifies the number of points that are cropped off the right side of the picture.

cropTop

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.

lockAspectRatio

Specifies a value that indicates whether the picture retains its original proportions when resized. true if it retains its proportions; otherwise, false.

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

[ API set: ExcelApiDesktop 1.1 ]

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

[ API set: ExcelApiDesktop 1.1 ]

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

[ API set: ExcelApiDesktop 1.1 ]

cropBottom

Specifies the number of points that are cropped off the bottom of the picture.

cropBottom?: number;

Property Value

number

Remarks

[ API set: ExcelApiDesktop 1.1 ]

cropLeft

Specifies the number of points that are cropped off the left side of the picture.

cropLeft?: number;

Property Value

number

Remarks

[ API set: ExcelApiDesktop 1.1 ]

cropRight

Specifies the number of points that are cropped off the right side of the picture.

cropRight?: number;

Property Value

number

Remarks

[ API set: ExcelApiDesktop 1.1 ]

cropTop

Specifies the number of points that are cropped off the top of the picture.

cropTop?: number;

Property Value

number

Remarks

[ API set: ExcelApiDesktop 1.1 ]

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

[ API set: ExcelApiDesktop 1.1 ]

height

Specifies the height of the picture in points.

height?: number;

Property Value

number

Remarks

[ API set: ExcelApiDesktop 1.1 ]

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

[ API set: ExcelApiDesktop 1.1 ]

width

Specifies the width of the picture in points.

width?: number;

Property Value

number

Remarks

[ API set: ExcelApiDesktop 1.1 ]