Line-Konstruktor
Initialisiert eine neue Instanz der Line-Struktur mit den angegebenen Anfangs- und Endpunkten.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Sub New ( _
beginPoint As Point, _
endPoint As Point _
)
'Usage
Dim beginPoint As Point
Dim endPoint As Point
Dim instance As New Line(beginPoint, _
endPoint)
public Line(
Point beginPoint,
Point endPoint
)
public:
Line(
Point beginPoint,
Point endPoint
)
public Line(
Point beginPoint,
Point endPoint
)
public function Line(
beginPoint : Point,
endPoint : Point
)
Parameter
- beginPoint
Typ: System.Drawing.Point
Der Anfangspunkt der Linie.
- endPoint
Typ: System.Drawing.Point
Der Endpunkt der Linie.
Beispiele
In diesem C#-Beispiel wird die Line-Struktur theLine deklariert und erstellt.
Line theLine = new Line(begin, end)
In diesem Microsoft® Visual Basic® .NET-Beispiel wird die Line-Struktur theLine deklariert und erstellt.
Dim theLine As New Line(begin, end)
Plattformen
Windows Vista
.NET Framework und .NET Compact Framework unterstützen nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET Framework.
Versionsinformationen
.NET Framework
Unterstützt in: 3.0