Skip to main content

App Settings

The file AppSettings.json contains all app settings in JSON format and is located here:

C:\ProgramData\point electronic\microCAL
  • It is read when the software starts and written every time the software is closed.
  • If AppSettings.json doesn't exist, microCal creates a new file with default settings. This works only, if the above stated path exists.
Name Values Description
PointColor color, see below Color to diplay the points in
ResidualColor color, see below Color to display the residuals in
RejectedPointColor color, see below Color to diplay the rejected points in
SymbolSize int Size of graphical elements
ResidualScale int Scale factor for residuals
Culture Culture specifier, e.g "en-Us" Culture to display the software in, escpecially the number format. Also used for reports.
LastUsedDetectionSettings Path Last used detection settings file with full path. This entry is required!
LastUsedTransformationSettings Path Last used parameter settings file with full path. This entry is required!
WindowPositionLeft int position of the window the last time the software was closed
WindowPositionTop int position of the window the last time the software was closed
WindowWidth int size of the window the last time the software was closed
WindowHeight int size of the window the last time the software was closed
FirstColumnWidth int
SecondColumnWidth int
FirstRowHeight int
SecondRowHeight int
HelpFile Path (?)
CsvSeparator "Comma", "Semicolon", "Blank", "Tabulator" Separator used for csv export. Can be changed from the ui.
Unit "nm", "µm", "mm", "m" Unit used for ui, for exports and reports. Can be changed from the ui.
IsFullScreen bool Wether the software was full screen the last time it was closed
IncludeImagesInPdfReport bool Wether the pdf report should include images. Can be changed from the ui.
ShowOnlyCalibrationParameterInResults bool Show calibration parameters only
FloatFormatSpecifier C# format specifier, e.g. "F4" Format specifier to be used for floating point values in the ui and the reports.
AvailableDimension "Choice", "Only2D", "Only3D" Wether the user can choose between 2D and 3D and if not, which one is selected.

Colors can be a hex color (argb, starting with #, 2 digits each) or a name of a color. For available color names see System.Windows.Media.Colors