GoDiagram Win Reference
CreatePaper Method

Create the GoRectangle that acts as the sheet's Paper.
Syntax
'Declaration
 
Protected Overridable Function CreatePaper() As GoRectangle
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.
Requirements

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

See Also

Reference

GoSheet Class
GoSheet Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback