In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Few questions about the 'A Complete Project' Sample

Xailer professional forum in English
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

Few questions about the 'A Complete Project' Sample

Mensaje por Dionisis Divaris »

Hello Ignacio , Jose
I study very carefully the ' A Complete Project' sample and kindly ask if
you can explain the following lines of code.
From the constructor of class TPrnDoc
--> UPDATE ::oDevice TO oDevice
And form the PrintHeader() methode
nStdPaso := Round( :PixelsToMapMode( 0, Abs(
oFontStd:nHeight ) )[ 2 ] * 1.2, 0 )
nBldPaso := Round( :PixelsToMapMode( 0, Abs(
oFontBld:nHeight ) )[ 2 ] * 1.2, 0 )
nTitPaso := Round( :PixelsToMapMode( 0, Abs(
::oFontTitle:nHeight ) )[ 2 ] * 1.2, 0 )
especialy the [2] *1.2
Many thanks for your attention
Regards
Dionisis
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Responder