Back to Devexpress

OleObject Members

officefileapi-devexpress-dot-spreadsheet-dot-oleobject-dot-underscore-members.md

latest8.6 KB
Original Source

OleObject Members

An OLE object.

Properties

NameDescription
AlternativeTextGets or sets the descriptive (alternative) text for a drawing object. Inherited from Shape.
BottomRightCellGets or sets a cell where the bottom right corner of a floating object is located. Inherited from FloatingObject.
ConnectorFormatProvides access to the shape connector settings. Inherited from Shape.
DecorativeGets or sets whether the shape is marked as decorative. Inherited from Shape.
FillProvides access to fill options for the specified drawing object. Inherited from ShapeFormatBase.
HeightGets or sets the height of the floating object. Inherited from FloatingObject.
HyperlinkGets the hyperlink associated with a drawing object (picture). Inherited from Shape.
IdGets the drawing object identifier. Inherited from Shape.
InsertTypeReturns whether OLE objects are linked or embedded within the document.
LeftGets or sets the distance from the left edge of the worksheet to the top left corner of the floating object. Inherited from FloatingObject.
LockAspectRatioGets or sets whether the floating object retains its original proportions after resizing. Inherited from FloatingObject.
NameGets or sets the name of the drawing object. Inherited from Shape.
OffsetXGets a distance from the top left corner of the floating to the left edge of the cell where the top left corner of the floating object is located. Inherited from FloatingObject.
OffsetYGets a distance from the top left corner of the floating object to the top edge of the cell where the top left corner of the floating object is located. Inherited from FloatingObject.
OleObjectTypeIdReturns the OLE object content type’s string ID.
OutlineProvides access to the options used to format an outline of the specified drawing object. Inherited from ShapeFormatBase.
ParentGroupRetrieves the group in which the current shape is contained. Inherited from Shape.
PlacementGets or sets the behavior of the floating object regarding the cells below. Inherited from FloatingObject.
RepresentationTypeReturns how the OLE object is depicted in the worksheet.
RotationGets or sets the rotation of the drawing object, in degrees. Inherited from Shape.
ShapeGeometryProvides access to the shape’s geometry options. Inherited from Shape.
ShapeTextProvides access to the shape’s text options. Inherited from Shape.
ShapeTypeReturns the type of the drawing object. Inherited from Shape.
TopGets or sets the distance from the top edge of the worksheet to the top left corner of the floating object. Inherited from FloatingObject.
TopLeftCellGets or sets a cell where the top left corner of a floating object is located. Inherited from FloatingObject.
WidthGets or sets the width of the floating object. Inherited from FloatingObject.
ZOrderPositionGets the position of the current drawing object in the z-order. Inherited from Shape.

Methods

NameDescription
AsEmbeddedContent()Returns an object to operate OLE object content of embedded insert type (InsertType is Embedded).
AsLinkedContent()Returns an object to operate OLE object content of linked insert type (InsertType is Linked).
Delete()Deletes a drawing object. Inherited from Shape.
ExportToImage()Saves the drawing object as an image. Inherited from Shape.
ExportToImage(Stream, ImageFileFormat)Saves the drawing object as an image in the specified format. Inherited from Shape.
ExportToImage(String, ImageFileFormat)Saves the drawing object as an image in the specified format. Inherited from Shape.
GetChildren()Retrieves the list of nested shapes and shape groups. Inherited from Shape.
IncrementRotation(Int32)Increments the rotation angle of the drawing object by the specified number of degrees. Inherited from Shape.
InsertHyperlink(String, Boolean)Associates a hyperlink with the drawing object. Inherited from Shape.
Move(Single, Single)Moves a floating object by a specified offset. Inherited from FloatingObject.
RemoveHyperlink()Removes the hyperlink associated with the current drawing object. Inherited from Shape.

See Also

OleObject Interface

DevExpress.Spreadsheet Namespace