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

    Show / Hide Table of Contents

    DrawRectangle Method

    DrawRectangle(Pen, Rect)

    Draws a rectangle specified by a Rect structure.

    Declaration
    public void DrawRectangle(Pen pen, Rect rectangle)
    Parameters
    Type Name Description
    Pen pen

    A Pen that determines the color, width, and style of the rectangle.

    Rect rectangle

    A Rect structure that represents the rectangle to draw.

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