STL export via SW API - Get allowed deviation range

Hi guys,

I'm trying to export SW Parts to STL with Custom-Resolution via API.

The API allows to set the resolution to "Custom":
ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSTLQuality, swSTLQuality_e.swSTLQuality_Custom).

The deviation tolerance is based on the currently opened model, and has a range for allowed min & max values.
The SolidWorks options dialog has a slider that can be moved left and right to find out the min & max values for the current model, and even shows a message if I'm manually setting a value outside of this range.

But is there a way to get the allowed value range from the API?
Since the API allows to set the resolution to "Custom", I assume this is somehow possible, but I can't find it.

I hope someone can help me with this.

Best Regards
Denis