ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Document Assembly / GrapeCity.ActiveReports.Document.Section Namespace / Rect Class
Members Example

In This Topic
    Rect Class
    In This Topic
    Represents a rectangle canvas element.
    Object Model
    Rect Class
    Syntax
    'Declaration
     
    Public Class Rect 
       Inherits CanvasItem
       Implements IBordered 
    public class Rect : CanvasItem, IBordered  
    Example
    public void DrawRect(float startX, float startY, float endX, float endY)
    {
    	CanvasItems.Add(new Rect(startX,startY,endX,endY));
    }
    Inheritance Hierarchy

    System.Object
       GrapeCity.ActiveReports.Document.Section.CanvasItem
          GrapeCity.ActiveReports.Document.Section.Rect

    See Also