Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining current papersize and orientation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00255178
Message ID:
00256061
Vues:
21
Hi Vidar,

>Does this class work also for NT?

Yep. But some API calls are different on Windows 9x, WinNT and Windows 2000. Additionally, on WinNT you have most API functions in ANSI and Unicode versions. The samples use all the ANSI versions and never pass a security descriptor. It might be necessary to do this on NT.

>How can I use this class to return FONTMETRICS (font attributes) for the installed printer fonts?

There are several functions to get those information, for example GetTextMetric(). You need a device context for the printer for this function. The PrtDemo.Prg sample demonstrates how to get the device context.

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform