Classes | |
struct | ApplicationSettings |
Holds application settings for a file or model. More... | |
struct | IDgnSettings |
Interface to find persistent "settings" information stored on a per file or per model basis. More... | |
Persistent "settings" information is stored in ApplicationsSettings elements on each file and model.
To access the ApplicationSettings object, call the IDgnSettings::GetCurrentSettings () static method to obtain an IDgnSettings query manager, and call one of the query methods in the IDgnSettings object to find the model-specific or file-specific ApplicationSettings object, e.g.
Multiple settings data are stored on a single MicroStation-maintained element in each file and each model. The individual settings data are stored in XAttributes on that element, identified by DgnPlatform::XAttributeHandlerId and setting id. Applications wishing to store settings data should obtain an DgnPlatform::XAttributeHandler major ID from Bentley Systems, and then use the minor DgnPlatform::XAttributeHandlerId for application specific "types" of settings and then use the "settingId" for individual instances of those types.