THPDFViewer Standard Zoom Levels
Moves Viewer zoom commands through stable standard levels instead of accumulating arithmetic error
Declarations
function GetNextZoomLevel: Double;
function GetPreviousZoomLevel: Double;
procedure ZoomIn;
procedure ZoomOut;Levels
5%, 10%, 25%, 50%, 75%, 100%, 125%, 150%, 200%, 300%, 400%, 600%, 800%, 1200%, 1600%, 2400%, 3200%, 4800%, and 6400%
Behaviour
- An arbitrary custom value moves to the nearest strictly higher or lower standard level
- The minimum and maximum levels remain unchanged when no further level exists
- Keyboard, mouse-wheel, Viewer methods, and action components share the same level selection
- Changing levels selects
vzmCustomexcept when a standard fit mode is assigned directly