Search found 129 matches: units

Return to advanced search

Re: nYoffset and nXoffset

... and nYoffset in the comment, but not directly in the code. // Set the X and Y offsets for printing oPrn:nXoffset := 10; // Set X offset to 10 units oPrn:nYoffset := 20; // Set Y offset to 20 units // Now, when you print something, it will start from the offset position These methods use nXoffset ...
by Silvio.Falconi
Mon Jan 15, 2024 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 832

Re: nYoffset and nXoffset

... and nYoffset in the comment, but not directly in the code. // Set the X and Y offsets for printing oPrn:nXoffset := 10; // Set X offset to 10 units oPrn:nYoffset := 20; // Set Y offset to 20 units // Now, when you print something, it will start from the offset position These methods use nXoffset ...
by Otto
Sun Jan 14, 2024 11:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 832

Re: Interesting discussion with ChtGPT

... my manual. My tool - preproPatcher - AKA Harbourino - is very suitable for collaboration with AI. I have organized my code according to logical units and can then simply send these blocks to the AI and have it edited. I am particularly surprised by the rapid progress in the responses and the ...
by Otto
Tue Nov 07, 2023 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Interesting discussion with ChtGPT
Replies: 15
Views: 1243

Interesting discussion with ChtGPT

... intervals LOCAL nQuarterHourUnits := INT(nDurationInMinutes / 15) ? "Duration: " + STR(nQuarterHourUnits) + " quarter-hour units" RETURN Note that the Harbour/Clipper syntax is a bit outdated and differs from modern programming languages, but the mathematical operations ...
by Otto
Mon Nov 06, 2023 4:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Interesting discussion with ChtGPT
Replies: 15
Views: 1243

Promtp-Editor: Unleash ChatGPT's Power: The Ultimate Prompt

... size of the buttons. Multiply the parameters of SIZE by 2.05. Insert the keyword "PIXEL" before SIZE use a space between to indicate the units. please code without overreading "PIXEL" Apologies for the oversight. Here's the modified version of the source code with the "PIXEL" ...
by Otto
Fri Jun 09, 2023 10:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Promtp-Editor: Unleash ChatGPT's Power: The Ultimate Prompt
Replies: 4
Views: 446

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" ...
by Antonio Linares
Wed Sep 21, 2022 2:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase para Graficos Vectoriales
Replies: 20
Views: 1157

New FTDN June/Junio 2022 (FWH 22.06)

... the array * printer.prg and fwpdf.prg: - Enhancement: Added 3rd optional param "cUnits". If specified, return value is in the specified units. * New function WmiService() --> oWmi object * New: Class TWebSocketServer to use web sockets. Please review samples\websock.prg new example ...
by Antonio Linares
Tue Jun 21, 2022 4:31 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2022 (FWH 22.06)
Replies: 1
Views: 872

Re: font SIZE 0,-10

... < 0 The font mapper transforms this value into device units and matches its absolute value against the character height of the available fonts.
by Antonio Linares
Tue Mar 29, 2022 2:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: font SIZE 0,-10
Replies: 1
Views: 213

Problem With indexes and Xbowse Search

... record I need on every procedure of application this archive stores the reference records for rates, payments, warehouse reasons, warehouse types, units of measurement, etc. and it use the standard archive the archive was index on Chiave+Codice because on archive I can save different record as ...
by Silvio.Falconi
Wed Feb 16, 2022 11:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem With indexes and Xbowse Search
Replies: 0
Views: 147

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

... "INCHES" ) // nWidth and nHeight are in inches Please see print.ch and find many useful commands for printing using physical units like INCHES/CM/MM eg: @ 1.5,0.5 PRINT TO oPrn TEXT cText SIZE 5 INCHES ALIGN "R" // right
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: 1289

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: 1289

Re: Impresion de Imagenes con TPRINTER

... printers and totally not compatible with pdf generation using harupdf. Please express all coordinates in inches or cm or mm and specify the units as INCHES or CM or MM instead of PIXEL Thank you master, I didn't know that. Living and learning. Regards, saludos.
by karinha
Mon Jun 28, 2021 4:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresion de Imagenes con TPRINTER
Replies: 8
Views: 1333

Re: Impresion de Imagenes con TPRINTER

... printers and totally not compatible with pdf generation using harupdf. Please express all coordinates in inches or cm or mm and specify the units as INCHES or CM or MM instead of PIXEL
by nageswaragunupudi
Mon Jun 28, 2021 4:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresion de Imagenes con TPRINTER
Replies: 8
Views: 1333

Re: Print Problem with FWH2104

One of the enhancements to methods Line(), Box() and RoundBox(), Arc(), Chord(), Ellipse(), Pie(), etc., is to specify the Units (INCHES/CM/MM) as the last parameter. This avoids the need to do complex calculations in our program for converting INCHES/CM/MM to pixels while printing. ...
by nageswaragunupudi
Wed Jun 09, 2021 3:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print Problem with FWH2104
Replies: 27
Views: 2596

Re: Print Problem with FWH2104

... Say() separately. - Enables background with solid colors, transparent colors, and images. - Totally avoid complex calculations to convert physical units like INCHES/CM to pixels by specifying the units as the last parameter. However, unfortunately, the backward compatibility was broken. This is ...
by nageswaragunupudi
Wed Jun 09, 2021 3:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print Problem with FWH2104
Replies: 27
Views: 2596
Next

Return to advanced search