GoDiagram Web Reference
UpdateExtent Method

This method is called when this GoView's Size (or Width or Height) is changed, to allow the view to scroll or rescale itself.
Syntax
'Declaration
 
Public Overridable Sub UpdateExtent() 
public virtual void UpdateExtent()
Remarks

The behavior depends on the value of SheetStyle and perhaps on the size of the Sheet. When the SheetStyle is GoViewSheetStyle.GoViewSheetStyle.WholeSheet, the DocScale and DocPosition are set to have all of the Sheet be visible in the view. A SheetStyle of GoViewSheetStyle.SheetWidth causes the scale to be set so that the full width of the Sheet is visible. A SheetStyle of GoViewSheetStyle.SheetHeight causes the scale to be set so that the full height of the Sheet is visible. A SheetStyle of GoViewSheetStyle.Sheet does not cause the scale to be changed. Finally, when SheetStyle is GoViewSheetStyle.None, or when there is no Sheet, this method does nothing. The Sheet's GoObject.Bounds are needed to decide how to scroll and scale the view, but the Sheet need not be GoObject.Visible.

For all of the SheetStyle values other than GoViewSheetStyle.None, this method calls RescaleWithCenter to try to keep centered the document point that had been in the center of the view.

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

GoView Class
GoView Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback