VDBUsToPixels

Syntax

VDBUsToPixels(int vdbu)

Arguments

vdbu
Number of VDBUs to convert to pixels

Description

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

Example

Info("DialogSize in pixels: %d x %d", HDBUsToPixels(getDialogWidth()), VDBUsToPixels(getDialogHeight()));

Also see

HDBUsToPixels, PixelsToHDBUs, PixelsToVDBUs

Comments

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