Read GanttBar Text

S

SpaceCamel

I need to check the Bar text on a schedule.

How can I access the Bar text in code?

The "GanttBarFormat" method just set the values, I need to read the existing
values.

Thanks,
 
J

JackD

The gantt bar text is all based on values associated with the tasks. It can
be task.name, task.start etc.
You should read those task properties directly. The gantt bar just displays
that value. There never should be any need to read a gantt bar text.

If you are trying to figure out what field (not the value of the field) is
displayed on the gantt bar, well, you can't. It is another of the project
write only properties. You can set it to what you want it to be, but there
is no way of finding out what it is.
 

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