public virtual void UpdateBounds( PageSettings ps, float viewscale )
Parameters
- ps
- viewscale
- typically this should be the value of GoView.PrintScale
PageSettings
object.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.