Line Method (Viewport Object)

Scope: Schematic editor

Object: Viewport Object

Prerequisites: None

Draws a line from one point to another.

Usage

Viewport.Line(ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long)

Arguments

X1

X coordinate of the first point.

Y1

Y coordinate of the first point.

X2

X coordinate of the second point.

Y2

Y coordinate of the second point.