Re: Problem with getProperty

JLuc <[email protected]>
Newsgroups gmane.comp.graphics.scribus
Message-ID <[email protected]>
Le 05/06/2020 à 12:46, [email protected] 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&nbsp;imageXScale but not for&nbsp;imageXOffset and&nbsp;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: [email protected]
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.