S
sorina.negulescu
I attempt to change the current left and top values by a small
amounts:
Visio.ActiveWindow.GetViewRect pdLeft, pdTop, pdWidth, pdHeight
Say the returned values are:
pdLeft = 0.2969
pdTop = 13.5625
pdWidth = 15.1875
pdHeight = 8.9063
Now,if I make pdTop 13.56, and call
Visio.ActiveWindow.SetViewRect pdLeft, pdTop, pdWidth, pdHeight
Visio.ActiveWindow.GetViewRect pdLeft, pdTop, pdWidth, pdHeight,
the returned pdTop is 13.5625
If I make pdTop 13.50, and call
Visio.ActiveWindow.SetViewRect pdLeft, pdTop, pdWidth, pdHeight
Visio.ActiveWindow.GetViewRect pdLeft, pdTop, pdWidth, pdHeight,
the returned pdTop is 13.50
13.52 becomes 13.515625
13.53 becomes 13.53125
13.57 becomes 13.5625
What is the rule by which Visio decides which values are attainable
and how does it choose the actual values?
Thanks,
Sorina
amounts:
Visio.ActiveWindow.GetViewRect pdLeft, pdTop, pdWidth, pdHeight
Say the returned values are:
pdLeft = 0.2969
pdTop = 13.5625
pdWidth = 15.1875
pdHeight = 8.9063
Now,if I make pdTop 13.56, and call
Visio.ActiveWindow.SetViewRect pdLeft, pdTop, pdWidth, pdHeight
Visio.ActiveWindow.GetViewRect pdLeft, pdTop, pdWidth, pdHeight,
the returned pdTop is 13.5625
If I make pdTop 13.50, and call
Visio.ActiveWindow.SetViewRect pdLeft, pdTop, pdWidth, pdHeight
Visio.ActiveWindow.GetViewRect pdLeft, pdTop, pdWidth, pdHeight,
the returned pdTop is 13.50
13.52 becomes 13.515625
13.53 becomes 13.53125
13.57 becomes 13.5625
What is the rule by which Visio decides which values are attainable
and how does it choose the actual values?
Thanks,
Sorina