GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoSheet Class / CreatePaper Method
In This Topic
    CreatePaper Method
    In This Topic
    Create the GoRectangle that acts as the sheet's Paper.
    Syntax
    protected virtual GoRectangle CreatePaper()

    Return Value

    a large white shadowed GoGrid that appears and acts as a simple rectangle
    Remarks
    The default implementation of this method does:
    
                  protected virtual GoRectangle CreatePaper() {
                   GoGrid grid = new GoGrid();
                   grid.Selectable = false;
                   grid.UnboundedSpots = GoObject.NoSpot;
                   grid.Brush = Brushes.White;
                   grid.Pen = Pens.Black;
                   grid.Shadowed = true;
                   grid.Style = GoViewGridStyle.None;
                   return grid;
                 }
                
    By default this object does not appear or behave as a normal grid, but just as a simple rectangle. The Grid property returns the grid that is normally manipulated to show any grid lines or to support snapping behavior. However, this paper object is normally responsible for drawing any shadow that this sheet defines.
    See Also