The SDK example Annotations\ReportsExample shows how to create a report definition programmatically: create a set of ColumnDefinitionNodes...
ColumnDefinitionNodePtr columnNode = groupNode.CreateColumnDefinition (columnName, -1); ReportColumnAccessorList accessors; accessors.push_back (ReportColumnAccessor (QualifiedECAccessor (schemaName, className, accessString))); columnNode->SetAccessors (accessors);
What is not shown, and what I can't find mentioned in MicroStationAPI help, is how to apply formatting to a report column.
The preferred trackable accountable way would be to file a help request located bottom right on your personal Connection Portal page (connect.bentley.com) and ask to file an Enhancement or Defect. Though as Paul mentions simply asking or making a clear point for an improvement or defect/bug may often result in a moderator, developer, or any Bentley colleague filing the request for you. Though not listed as best practice to my knowledge using logical tags may also help catch or find issue more easily. E.g. DefectRequest or EnhancementRequest.
Answer Verified By: Jon Summers
Robert Hook said:Enhancement 694371 has been filed
Has any progress been made with that enhancement? I don't see anything in the SDK docs for Update 15 that mention report formatting.
Regards, Jon Summers LA Solutions