Search found 105 matches: inches

Return to advanced search

Re: nYoffset and nXoffset

... centimeters to pixels. Mmtr2Pix - Uses nXoffset and nYoffset to convert millimeters to pixels. Inch2Pix - Uses nXoffset and nYoffset to convert inches to pixels. CmRect2Pix - Uses nXoffset and nYoffset to convert a rectangle from centimeters to pixels. Pix2Mmtr - Uses nXoffset and nYoffset in ...
by Silvio.Falconi
Mon Jan 15, 2024 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 831

Re: nYoffset and nXoffset

... centimeters to pixels. Mmtr2Pix - Uses nXoffset and nYoffset to convert millimeters to pixels. Inch2Pix - Uses nXoffset and nYoffset to convert inches to pixels. CmRect2Pix - Uses nXoffset and nYoffset to convert a rectangle from centimeters to pixels. Pix2Mmtr - Uses nXoffset and nYoffset in ...
by Otto
Sun Jan 14, 2024 11:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 831

Re: ayuda por favor con REPrintBox5

We do not know about REprintbox5.

But if you use FWH native printer class, we can use CM, MM, INCHES as you like.
by nageswaragunupudi
Fri Jun 30, 2023 11:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ayuda por favor con REPrintBox5
Replies: 8
Views: 550

Re: printer class printimage

If you need to use CM, you just use "CM" instead of "INCHES" in the above command. There is no need to create new functions for this. ok How I can make to insert an image on a box sample I use for a text IF lBorder      ...
by Silvio.Falconi
Fri Apr 21, 2023 9:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 617

Re: printer class printimage

If you need to use CM, you just use "CM" instead of "INCHES" in the above command.
There is no need to create new functions for this.
by nageswaragunupudi
Fri Apr 21, 2023 2:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 617

Re: New FTDN October/Octure (FWH 22.10)

... una variable de carácter y luego utilizarla para imprimir la imagen. Ejemplo: cImage := FIELD->IMAGE @ r,c PRINT TO oPrn IMAGE cImage SIZE w,h INCHES ahora podemos utilizar directamente la variable de campo. Ejemplo: @ r,c PRINT TO oPrn IMAGE FIELD->IMAGE SIZE w,h INCHES * oAdoRecordset ...
by Antonio Linares
Mon Nov 07, 2022 9:38 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octure (FWH 22.10)
Replies: 2
Views: 862

New FTDN October/Octure (FWH 22.10)

... of the field to a character variable and then use it to print the image. eg., cImage := FIELD->IMAGE @ r,c PRINT TO oPrn IMAGE cImage SIZE w,h INCHES now we can directly use the field variable. eg., @ r,c PRINT TO oPrn IMAGE FIELD->IMAGE SIZE w,h INCHES * XBROWSER oAdoRecordset was giving ...
by Antonio Linares
Wed Nov 02, 2022 11:55 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octure (FWH 22.10)
Replies: 2
Views: 862

Re: Clase para Graficos Vectoriales

Aclaración de Mr. Rao que tiene más experiencia en este tema: For conversion between Pixels and Units( "INCHES", "CM", "MM" ), we have two methods Units2Pix( top, left, width, height, Units ( "INCHES","CM","MM" )) and ...
by Antonio Linares
Wed Sep 21, 2022 2:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase para Graficos Vectoriales
Replies: 20
Views: 1155

Re: Favor Ayuda para imprimir Campo MEMO RTF con PRINT

... Amigo Cesar. Tu Linea: @ 86, 20 PRINT TO oPrn TEXT h->Det_Exa SIZE 1900,200 MM Line Aplicada: @ 6,1 PRINT TO oPrn TEXT h->Det_Exa SIZE 6,4 INCHES FONT oFont2 ( Esta funciona) Las medidas "SIZE 6,4 INCHES" y "SIZE 1900,200 MM", genera la diferencia de SIZE 1900,200 MM. ...
by remtec
Tue Jul 26, 2022 2:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Favor Ayuda para imprimir Campo MEMO RTF con PRINT
Replies: 5
Views: 474

Re: Class TFont different

... https://www.hamelau.eu/tmp/dgsv.jpg I know that your advice will be to let the printer do the calculation for positionimg in MM or Inches and so. But I don't want to measure all my linefeeds in millimeters, especially when using two fonts of different heights in the same line. Btw. ...
by Detlef
Sun May 01, 2022 9:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Class TFont different
Replies: 2
Views: 311

Re: New FTDN March/Marzo 2022 (FWH 22.03)

... los métodos/comandos existentes oWnd:SayText( cText, aRect, ... ) oPrn:SayText( cText, aRect, ... ) @ r,c PRINT TO oPrn TEXT cText SIZE w,h INCHES/CM/MM mostrará automáticamente RichText en caso de que cText sea RTF sin ningún código especial por parte del programador. Para más detalle, ...
by Antonio Linares
Mon Apr 11, 2022 4:11 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 621

New FTDN March/Marzo 2022 (FWH 22.03)

... version, the existing methods/commands oWnd:SayText( cText, aRect, ... ) oPrn:SayText( cText, aRect, ... ) @ r,c PRINT TO oPrn TEXT cText SIZE w,h INCHES/CM/MM will automatically display RichText in case the cText is RTF, without any special code by the programmer. For more details, see: http://forums.fivetechsupport.com/viewtopic.php?f=3&t=41558&p=249112&hilit=RICHTEXT&sid=1e417353d5cb282450c8df2f548e02c5#p249112 ...
by Antonio Linares
Sun Apr 10, 2022 7:02 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 621

Re: Unattended creation of .pdf . resolution problem -- RESOLVED

... "c:\dbtmp\"+cPdfName+".pdf"   // location and name of your .pdfoPrint:SetPage( 1 )oPrint:SetPortrait() 4) You have to think in INCHES and not Pixels ... Rao did the calculation .. maybe he can chime in here for the SIZE conversion // HEADING   cHead1 := "State of South ...
by Rick Lipkin
Thu Oct 14, 2021 9:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unattended creation of .pdf . resolution problem -- RESOLVED
Replies: 9
Views: 1285

Re: Unattended creation of .pdf .. resolution problem -- Rao

PRINT oPrn FILE cFilePdf oPrn:SetPage( 1 ) // Letter size 8x11 oPrn:SetPortrait() nWidth := oPrn:PageWidth( "INCHES" ) nHeight := oPrn:PageHeight( "INCHES" ) // nWidth and nHeight are in inches Please see print.ch and find many useful commands for printing using ...
by nageswaragunupudi
Mon Sep 20, 2021 8:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unattended creation of .pdf . resolution problem -- RESOLVED
Replies: 9
Views: 1285

Re: Unattended creation of .pdf .. resolution problem -- Rao

After the PRINT command, please try setting paper size ( A4 or Letter ) and orientation to portrait.

In future programs, we advise you to use physical units like INCHES,CM,MM and let the printer class handle the complex calculations. That will be a lot easier.
by nageswaragunupudi
Sun Sep 19, 2021 7:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unattended creation of .pdf . resolution problem -- RESOLVED
Replies: 9
Views: 1285
Next

Return to advanced search