[scribus] Problem with getProperty
JLuc
jluc at no-log.org
Fri Jun 5 12:48:50 UTC 2020
Le 05/06/2020 à 12:46, fernast at 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
More information about the scribus
mailing list