Compartilhar via


_OLEObject.Placement Property

Returns or sets the way the object is attached to the cells below it. Read/write Object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Placement As Object
    Get
    Set
'Usage
Dim instance As _OLEObject
Dim value As Object

value = instance.Placement

instance.Placement = value
Object Placement { get; set; }

Property Value

Type: System.Object

Remarks

Use one of the following constants:

xlFreeFloating

xlMove

xlMoveAndSize

See Also

Reference

_OLEObject Interface

_OLEObject Members

Microsoft.Office.Interop.Excel Namespace