Modifica

Condividi tramite


Graphic Interface

Definition

Contains properties that apply to header and footer picture objects.

public interface class Graphic
[System.Runtime.InteropServices.Guid("00024459-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Graphic
Public Interface Graphic
Attributes

Remarks

There are several properties of the PageSetup object that return the Graphic object.

Use the CenterFooterPicture, CenterHeaderPicture, LeftFooterPicture, LeftHeaderPicture, RightFooterPicture, or RightHeaderPicture properties to return a Graphic object.

Properties

Application

Returns an Application object that represents the Microsoft Excel application.

Brightness

Returns or sets the brightness of the specified picture or OLE object.

ColorType

Returns or sets the type of color transformation applied to the specified picture or OLE object.

Contrast

Returns or sets the contrast for the specified picture or OLE object.

Creator

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

CropBottom

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

CropLeft

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

CropRight

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

CropTop

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

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.

Height

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.

Parent

Returns the parent object for the specified object.

Width

The width, in points, of the object.

Applies to