• Overview
  • How it works
  • Documentation
  • Blog
  • Forum
Search Results for

    Show / Hide Table of Contents

    DrawLines Method

    DrawLines(Pen, Point[])

    Draws a series of line segments that connect an array of Point structures.

    Declaration
    public void DrawLines(Pen pen, Point[] points)
    Parameters
    Type Name Description
    Pen pen

    Pen that determines the color, width, and style of the line segments.

    Point[] points

    Array of Point structures that represent the points to connect.

    Remarks

    This method draws a series of lines connecting an array of ending points. The first two points in the array specify the first line. Each additional point specifies the end of a line segment whose starting point is the ending point of the previous line segment.

    Exceptions
    Type Condition
    System.ArgumentNullException

    pen is null.

    In This Article
    Back to top Documentation Licensing Info Copyright AlterNET Software