Поделиться через


Line - конструктор

Обновлен: Ноябрь 2007

Initializes a new instance of the Line structure with the specified beginning and ending points.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public Sub New ( _
    beginPoint As Point, _
    endPoint As Point _
)
'Применение
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
)

Параметры

Примеры

This C# example declares and creates a Line structure, theLine.

Line theLine = new Line(begin, end)

This Microsoft® Visual Basic® .NET example declares and creates a Line structure, theLine.

Dim theLine As New Line(begin, end)

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

Line Структура

Line - члены

Microsoft.Ink - пространство имен