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

    Show / Hide Table of Contents

    DrawLine Method

    DrawLine(Pen, Point, Point)

    Draws a line connecting two Point structures.

    Declaration
    public void DrawLine(Pen pen, Point a, Point b)
    Parameters
    Type Name Description
    Pen pen

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

    Point a

    Point structure that represents the first point to connect.

    Point b

    Point structure that represents the second point to connect.

    Exceptions
    Type Condition
    System.ArgumentNullException

    pen is null.

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