Re: Problem with getProperty

Gregory Pittman <gpittman-s/[email protected]>
Newsgroups gmane.comp.graphics.scribus
Message-ID <[email protected]>
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


___
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.