Le 05/06/2020 à 12:46, fern...@neuf.fr a écrit :
scribus.getProperty("Image2", "imageYOffset")<br> scribus.getProperty("Image", "imageXScale")<br> By comparing with the values in the property tab I get the right value for imageXScale but not for imageXOffset and imageXOffset<br>
Anybody has any suggestions on what am I doing wrong??
The property tab displays length values using the unit choosen in the preferences for such displays : inches / cm / pt It's likely the API functions return the internal value, whatever its unit. This is for length of course, not percentages as imaegSScale which have no unit. JL ___ Scribus Mailing List: scribus@lists.scribus.net Edit your options or unsubscribe: http://lists.scribus.net/mailman/listinfo/scribus See also: http://wiki.scribus.net http://forums.scribus.net