Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [CONNECT C++] Add Formatting to a Report Column

$
0
0
Jon,

You will not find a convenient API for this.
The Reports dialog uses the XDataTree API to do it.
Basically the formatting is stored as an extra ECInstance on the column definition's XDataTreeNode.
As you've probably noticed, the XDataTree API is not especially user-friendly.
You *can* use that API to add/remove formatting - but the Reports dialog has lots of extra validation logic on top of that to ensure the formatting options specified are compatible with the column's data type.
You may prefer to request that a convenient API be provided on ColumnDefinitionNode.

Regards,
Paul

Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>