GhostShape Constructor (Guid, RectangleD, Guid, Double)
Visual Studio 2015
Initializes a new instance of the GhostShape class.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: GhostShape( Guid sourceId, RectangleD sourceAbsoluteBoundingBox, Guid sourceParentId, double sourceGridSize )
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.
Show: