Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoSheet Class : CreatePaper Method |
'Declaration Protected Overridable Function CreatePaper() As GoRectangle
protected virtual GoRectangle CreatePaper()
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2