Re: Which is more Accurate for Centering images
From: MikeD (nobody_at_nowhere.edu)
Date: 06/23/04
- Next message: Vlad: "Order By"
- Previous message: Ayaz Ahmed: "Re: Crystal Reports 10"
- In reply to: Karproxid: "Which is more Accurate for Centering images"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Jun 2004 08:09:13 -0400
"Karproxid" <uce@ftc.gov> wrote in message
news:01c45918$5b21b780$0711ba3f@cooper...
> Truncating:
> Call .Move((Screen.Width - .Width) \ 2, (Screen.Height - .Height) \ 2)
>
> OR Rounding:
> Call .Move((Screen.Width - .Width) / 2, (Screen.Height - .Height) / 2)
Next time, please ask your question in the message body. The subject should
be just that....a subject. A question usually makes for a very bad subject.
It depends on the ScaleMode setting. If the scale mode is twips or pixels
(or a user mode in which there's no decimal portion), accuracy is the same.
However, integer division is more efficient so you should always use integer
division when possible.
Mike
- Next message: Vlad: "Order By"
- Previous message: Ayaz Ahmed: "Re: Crystal Reports 10"
- In reply to: Karproxid: "Which is more Accurate for Centering images"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|