Northwoods.Go Assembly > Northwoods.Go Namespace > GoSheet Class : UpdateBounds Method |
PageSettings
object.'Declaration Public Overridable Sub UpdateBounds( _ ByVal ps As PageSettings, _ ByVal viewscale As Single _ )
public virtual void UpdateBounds( PageSettings ps, float viewscale )
PageSettings.Landscape
is true, the PaperSize.Width is used for the Paper height, and the PaperSize.Height is used for the page width, after accounting for the viewscale. It does not update any GoGrid properties. Note well that this method may raise exceptions when examining the PageSettings
ps and other printer structures, for example when there is no printer installed.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