Whats te alternative for com.sun.star.awt.DisplayAccess ?

Fernand Vanrie sos at pmgroup.be
Thu Jul 4 06:13:51 PDT 2013


sinds 4.1
com.sun.star.awt.DisplayAccess

is no longer working
     oDisplayAccess = createUnoService("com.sun.star.awt.DisplayAccess")
     oDisplayAccess is empty ????
     oDisplayInfo = oDisplayAccess.getByIndex(0)
     aScreenArea = oDisplayInfo.ScreenArea
     iScreenW =    aScreenArea.Width
     iScreenH =    aScreenArea.Height

This was always "undocumented" i hope there is a documented alternative ?

Greetz

Fernand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130704/9b838e42/attachment.html>


More information about the LibreOffice mailing list