Compartilhar via


OLEObjects.Placement Property

Returns or sets the way the object is attached to the cells below it.

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 OLEObjects
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

OLEObjects Interface

OLEObjects Members

Microsoft.Office.Interop.Excel Namespace