![]() |
|
phGantTimePackage FAQ 10407How can I get the height of a timeitem? or the height of a treeitem? Please note that this article
refers to the phGantTimePackage Jump to article- 2005-11-29 18:23:00 - Email plexityHide Question How can I get the height of a timeitem? or the height of a treeitem?
And how can I get the count from all visible treeitems?
Answer You can use the IphGantRow3.GetRect method to get the rectangle of the GanttRow, to get the x-coordinates you must use the DateToPixel on Start and stop.
To get all visible tree items; Iterate thru Gantt.RowList and get the IphGantRow3.GetRect for each item check if the rectangle is -1,-1,-1,-1 then that row is not on screen.
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |