Megosztás a következőn keresztül:


OLEObject Members (2007 System)

Include Protected Members
Include Inherited Members

Represents a linked or embedded control on a worksheet.

The OLEObject type exposes the following members.

Methods

 

Name

Description

Public method

Activate

Activates the OLEObject.

Public method

BringToFront

Brings the OLEObject to the front of the z-order.

Public method

Copy

Copies the OLEObject to the Clipboard.

Public method

CopyPicture

Copies the OLEObject to the Clipboard as a picture.

Public method

Cut

Cuts the OLEObject to the Clipboard.

Public method

Delete

Deletes the OLEObject.

Public method

Duplicate

Duplicates the OLEObject and returns a reference to the new copy.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

Select

Selects the OLEObject.

Public method

SendToBack

Sends the OLEObject to the back of the z-order.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Public method

Update

Updates the link.

Public method

Verb

Sends a verb to the server of the OLEObject.

Top

Properties

 

Name

Description

Public property

AltHTML

Infrastructure.

Public property

Application

Gets the creator of the OLEObject.

Public property

AutoLoad

Gets or sets a value that indicates whether the OLEObject is automatically loaded when the workbook that contains it is opened.

Public property

AutoUpdate

Gets or sets a value that indicates whether the OLEObject is updated automatically when the source changes.

Public property

Border

Gets the border of the OLEObject.

Public property

BottomRightCell

Gets a Range that represents the cell that lies under the lower-right corner of the OLEObject.

Public property

Creator

Gets a value that indicates the application in which the OLEObject was created.

Public property

Enabled

Gets or sets a value that indicates whether the OLEObject is enabled.

Public property

Height

Gets or sets the height, in points, of the OLEObject.

Public property

Index

Gets the index number of the OLEObject within the collection of similar objects.

Public property

Interior

Gets the interior of the OLEObject.

Public property

Left

Gets or sets the distance, in points, from the left edge of the OLEObject to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).

Public property

LinkedCell

Gets or sets a value that identifies the range linked to the value of the OLEObject.

Public property

ListFillRange

Gets or sets a value that identifies the range used to fill the specified list box.

Public property

Locked

Gets or sets a value that indicates whether the OLEObject is locked.

Public property

Name

Gets or sets the name of the OLEObject.

Public property

Object

Gets the OLE Automation object associated with the OLEObject.

Public property

OLEType

Gets the OLEObject type.

Public property

OnAction

Infrastructure.

Public property

Parent

Gets the parent object for the OLEObject.

Public property

Placement

Gets or sets a value that indicates how the OLEObject is attached to the cells below it.

Public property

PrintObject

Gets or sets a value that indicates whether the OLEObject is printed when the document is printed.

Public property

progID

Gets the programmatic identifiers for the OLEObject.

Public property

Shadow

Gets or sets a value that indicates whether the font is a shadow font or if the OLEObject has a shadow.

Public property

ShapeRange

Gets a ShapeRange that represents the specified OLEObject.

Public property

SourceName

Gets or sets the link source name of the OLEObject.

Public property

Top

Gets or sets the distance, in points, from the top edge of the OLEObject to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

Public property

TopLeftCell

Gets a Range that represents the cell that lies under the upper-left corner of the OLEObject.

Public property

Visible

Gets or sets a value that indicates whether the OLEObject is visible.

Public property

Width

Gets or sets the width, in points, of the OLEObject.

Public property

ZOrder

Gets the z-order position of the OLEObject.

Top

See Also

Reference

OLEObject Class

Microsoft.Office.Tools.Excel Namespace