Udostępnij za pośrednictwem


Konstruktor GhostShape —

Inicjuje nowe wystąpienie klasy GhostShape.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Diagrams
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Składnia

'Deklaracja
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
)

Parametry

  • sourceId
    Typ: System.Guid
    Identyfikator Guid ShapeElement, któremu odpowiada ten kształt ghost.Jeśli nie reprezentuje istniejące wystąpienie kształtu, to być wartości Guid.Empty.
  • sourceParentId
    Typ: System.Guid
    Identyfikator Guid ShapeElement obiektu nadrzędnego.Jeśli nie ma żadnych istniejących nadrzędnej ShapeElement, może to być wartości Guid.Empty.
  • sourceGridSize
    Typ: System.Double
    Rozmiar siatki, który znajduje się na ShapeElement.To może być równa zero, w których przypadku nie jest bez siatki.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

GhostShape Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Diagrams