Calculate dates from a timeline programmatically

R

Robert

I want to calculate dates other than the begin and end dates on a timeline
with the result being the x and y coordinates where the date is on the page.
I would like to do this from code. Thanks
 
A

Al Edlund

Robert,
I'm not quite sure what you're asking for when you say x.y on the 'page'. As
a thought, the begin and end 'dates' are in the form of a Long (with the
date being the left side of the decimal and the time being on the right).
The duration of the line is a simple arithmetic operation (and thus the
percentage of the line to displace the new value). The math should be pretty
straight forward.
al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top