ImageViewerAddOn.Location.X points to the right edge, when language is right-to-left

Hi,

I’m writing a plugin to SmartClient 2017 R3.

When querying the Location property of ImageViewerAddOn, I usually get X indicating the left edge, and Y indicating the top.

After changing SmartClient’s settings, to work in right-to-left language, X started to indicate the right edge.

Is this behavior intentional?

If so, is there a property in the API to query from, in order o know if text mode is right to left?

Thank you

I found this - https://blogs.msdn.microsoft.com/vsarabic/2010/04/19/detecting-if-your-localeculture-is-righttoleft/

Whether the behavior is intentional or correct I will dig into and get back..

I tried your proposed link and it works for me. Thank you!