GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoToolRubberBanding Class / Box Property
In This Topic
    Box Property
    In This Topic
    Gets or sets the rectangle that the user has drawn so far.
    Syntax
    public Rectangle Box {get; set;}

    Property Value

    This Rectangle is in view coordinates. You should call GoView.ConvertViewToDoc to convert these view coordinates into document coordinates so that you can select any objects within the rectangle corresponding to this box. It is initially a zero size rectangle at the mouse down point.
    Remarks
    This is normally set to the value last computed by ComputeRubberBandBox.
    See Also