ZoomPercentage
After setting the Viewer.ZoomSetting to zsWholePage or zsPageWidth I am
trying to obtain the Viewer.ZoomPercentage. The value of
Viewer.ZoomPercentage appears to be unchanged from before setting the
Viewer.ZoomSetting. Any help is greatly appreciated!!
Sample code (runtime)
zp := ActiveViewer.ZoomPercentage; {zp = 60}
ActiveViewer.ZoomSetting := zsPageWidth;
zp := ActiveViewer.ZoomPercentage; {zp = 60}
The Viewer is Zooming correctly after the ZoomSetting statement, I just
can't access the correct Viewer.ZoomPercentage.
Thanks,
Casey
trying to obtain the Viewer.ZoomPercentage. The value of
Viewer.ZoomPercentage appears to be unchanged from before setting the
Viewer.ZoomSetting. Any help is greatly appreciated!!
Sample code (runtime)
zp := ActiveViewer.ZoomPercentage; {zp = 60}
ActiveViewer.ZoomSetting := zsPageWidth;
zp := ActiveViewer.ZoomPercentage; {zp = 60}
The Viewer is Zooming correctly after the ZoomSetting statement, I just
can't access the correct Viewer.ZoomPercentage.
Thanks,
Casey
This discussion has been closed.
Comments
Try accessing the TppViewer.CalculatedZoom property rather than the
ZoomPercentage if you would like to see the current zoom value.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com