Graphic Members (Excel)

Contains properties that apply to header and footer picture objects.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Brightness

Returns or sets the brightness of the specified picture or OLE object. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest). Read/write Single.

ColorType

Returns or sets the type of color transformation applied to the specified picture or OLE object. Read/write MsoPictureColorType.

Contrast

Returns or sets the contrast for the specified picture or OLE object. The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast). Read/write Single.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

CropBottom

Returns or sets the number of points that are cropped off the bottom of the specified picture or OLE object. Read/write Single.

CropLeft

Returns or sets the number of points that are cropped off the left side of the specified picture or OLE object. Read/write Single.

CropRight

Returns or sets the number of points that are cropped off the right side of the specified picture or OLE object. Read/write Single.

CropTop

Returns or sets the number of points that are cropped off the top of the specified picture or OLE object. Read/write Single.

Filename

Returns or sets the URL (on the intranet or the Web) or path (local or network) to the location where the specified source object was saved. Read/write String.

Height

Returns or sets a Single value that represents the height, in points, of the object.

LockAspectRatio

True if the specified shape retains its original proportions when you resize it. False if you can change the height and width of the shape independently of one another when you resize it. Read/write MsoTriState.

Parent

Returns the parent object for the specified object. Read-only.

Width

Returns or sets a Single value that represents the width, in points, of the object.