Share via


IShape.Move Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Move shape to (x, y) position relative to its parent IShape. Change the size of the shape, unless width or height are -1.0f. Move will not be performed on connectors.

Namespace:  Microsoft.VisualStudio.Uml.Presentation
Assembly:  Microsoft.VisualStudio.Uml.Extensions (in Microsoft.VisualStudio.Uml.Extensions.dll)

Syntax

'Declaration
Sub Move ( _
    xposition As Double, _
    yposition As Double, _
    width As Double, _
    height As Double _
)
'Usage
Dim instance As IShape
Dim xposition As Double
Dim yposition As Double
Dim width As Double
Dim height As Double

instance.Move(xposition, yposition, width, _
    height)
void Move(
    double xposition,
    double yposition,
    double width,
    double height
)
void Move(
    double xposition, 
    double yposition, 
    double width, 
    double height
)
abstract Move : 
        xposition:float * 
        yposition:float * 
        width:float * 
        height:float -> unit 
function Move(
    xposition : double, 
    yposition : double, 
    width : double, 
    height : double
)

Parameters

  • xposition
    Type: System.Double
    X position (inch) relative to the left edge of its parent shape or diagram
  • yposition
    Type: System.Double
    Y position (inch) relative to the top edge of its parent shape or diagram
  • width
    Type: System.Double
    Width (inch). Set to 0 to leave unchanged
  • height
    Type: System.Double
    Height (inch). Set to 0 to leave unchanged

.NET Framework Security

See Also

Reference

IShape Interface

IShape Members

Microsoft.VisualStudio.Uml.Presentation Namespace