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 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: [email protected] Edit your options or unsubscribe: http://lists.scribus.net/mailman/listinfo/scribus See also: http://wiki.scribus.net http://forums.scribus.net