Changes by last author:

= PixelsToVDBUs =

== Syntax ==

:PixelsToVDBUs(int pixels)

== Arguments ==


::Number of pixels to convert to VDBUs

== Description ==

:Converts on-screen pixel measurement to VDBU (vertical dialog base units, the measurement by which FilterMeister dialogs are constructed). Note that the result of this conversion depends on the users' Windows installation and may vary.

== Example ==


Info("Screensize in DBUs: %d x %d", PixelsToHDBUs(getDisplaySettings(1)), PixelsToVDBUs(getDisplaySettings(2)));


== Also see ==

:HDBUsToPixels, PixelsToHDBUs, VDBUsToPixels

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.