Jon,
When creating a TextField, you can pass in an optional IECInstanceCP containing formatting information.
Formatting is performed by IDgnECTypeAdapter (with much of the functionality in the base ECN::IECTypeAdapter class).
Given an ECProperty, use IDgnECTypeAdapter::GetForProperty/ArrayMember() to obtain the associated type adapter.
Then use the adapter's CreateDefaultFormatter() function to create an IECInstance containing default formatting options.
See MstnPropertyFormatter ECSchema for the various formatting classes.
Set up the property values of your formatter and pass them to TextField::Create*().
Regards,
Paul
When creating a TextField, you can pass in an optional IECInstanceCP containing formatting information.
Formatting is performed by IDgnECTypeAdapter (with much of the functionality in the base ECN::IECTypeAdapter class).
Given an ECProperty, use IDgnECTypeAdapter::GetForProperty/ArrayMember() to obtain the associated type adapter.
Then use the adapter's CreateDefaultFormatter() function to create an IECInstance containing default formatting options.
See MstnPropertyFormatter ECSchema for the various formatting classes.
Set up the property values of your formatter and pass them to TextField::Create*().
Regards,
Paul