Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the GhostShape class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Sub New ( _
sourceId As Guid, _
sourceAbsoluteBoundingBox As RectangleD, _
sourceParentId As Guid, _
sourceGridSize As Double _
)
public GhostShape(
Guid sourceId,
RectangleD sourceAbsoluteBoundingBox,
Guid sourceParentId,
double sourceGridSize
)
public:
GhostShape(
Guid sourceId,
RectangleD sourceAbsoluteBoundingBox,
Guid sourceParentId,
double sourceGridSize
)
new :
sourceId:Guid *
sourceAbsoluteBoundingBox:RectangleD *
sourceParentId:Guid *
sourceGridSize:float -> GhostShape
public function GhostShape(
sourceId : Guid,
sourceAbsoluteBoundingBox : RectangleD,
sourceParentId : Guid,
sourceGridSize : double
)
Parameters
- sourceId
Type: System.Guid
The Guid of the ShapeElement that the ghost shape represents. This can be Guid.Empty if it does not represent an existing shape instance.
- sourceAbsoluteBoundingBox
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The original bounding box of the ShapeElement in world units relative to the top-left of the diagram.
- sourceParentId
Type: System.Guid
The Guid of the parent ShapeElement. This can be Guid.Empty if there is no existing ShapeElement parent.
- sourceGridSize
Type: System.Double
The grid size that the ShapeElement is on. This can be zero, in which case there is no grid.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.