[scribus] Problem with getProperty
Gregory Pittman
gpittman at iglou.com
Tue Jun 9 13:27:26 UTC 2020
On 6/9/20 6:21 AM, ale rimoldi wrote:
> hi
>
>> I guess a scribus scripter API function would be helpfull
>> to convert points to cm or inches
>
> mmm.... in a script you can set the current unit at any time...
>
> most scripts that modify sizes read the current unit at the beginning,
> change it to the author's one and restore the original unit at the end
> of the script (hoping not to crash...)
Hi ale,
In this case, the getImageOffset() command will only return points, not the page units.
Greg
More information about the scribus
mailing list