Search found 22 matches: centimeters

Return to advanced search

Re: nYoffset and nXoffset

... are only used in the methods: New - Sets nXoffset and nYoffset based on printer settings. Cmtr2Pix - Uses nXoffset and nYoffset to convert centimeters to pixels. Mmtr2Pix - Uses nXoffset and nYoffset to convert millimeters to pixels. Inch2Pix - Uses nXoffset and nYoffset to convert inches ...
by Silvio.Falconi
Mon Jan 15, 2024 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 744

Re: nYoffset and nXoffset

... are only used in the methods: New - Sets nXoffset and nYoffset based on printer settings. Cmtr2Pix - Uses nXoffset and nYoffset to convert centimeters to pixels. Mmtr2Pix - Uses nXoffset and nYoffset to convert millimeters to pixels. Inch2Pix - Uses nXoffset and nYoffset to convert inches ...
by Otto
Sun Jan 14, 2024 11:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 744

Re: print on dot matrix printer

... In the first one, nRow and nCol are coodinates in grapjical In the second one, nRow and nCol are coodinates in centimeters and the third one, nRow and nCol are coordinates in inches Unfortunately I have not a sample. Regards
by Armando
Sun Dec 04, 2016 5:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: print on dot matrix printer
Replies: 5
Views: 1614

Re: Appear Empty paper when use TReport

... of the new margin to be used. Default is 0.2. nType The type of margin to be changed: LEFT 1 (default) TOP 4 RIGHT 2 BOTTOM 5 nScale Inches or centimeters to be used: INCHES 1 (default) CENTIMETERS 2 Use the manifest constants: RPT_LEFT RPT_RIGHT RPT_TOP RPT_BOTTOM ----------------------------
by James Bott
Sun Jan 17, 2016 5:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Appear Empty paper when use TReport
Replies: 4
Views: 671

Re: Print multiple images with defined sizes

Can I set the size of the image in Centimeters?
by sambomb
Tue Apr 07, 2015 5:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print multiple images with defined sizes
Replies: 8
Views: 1272

Re: Problem Clicking on Fields in Dialog

... 226, 249, 366, 40 CONTROL "Inches", 232, "Button", BS_RADIOBUTTON, 5, 280, 33, 12 CONTROL "Centimeters", 233, "Button", BS_RADIOBUTTON, 46, 280, 48, 12 CONTROL "", 6000, "TWBrowse", WS_DISABLED|WS_TABSTOP|0x00b00000, ...
by cdmmaui
Thu Nov 07, 2013 1:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem Clicking on Fields in Dialog
Replies: 11
Views: 3742

Re: LEFT() and RIGHT() but in centimeters in stead of characters

Hello Michel,
drawText works fine for me:

Best regards,
Otto

Image
by Otto
Fri Dec 25, 2009 5:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: LEFT() and RIGHT() but in centimeters in stead of characters
Replies: 3
Views: 705

Re: LEFT() and RIGHT() but in centimeters in stead of characters

Hello Michel,
I think I found a better solution:
Code: Select all  Expand view
DrawText( ::hDC, cCaption,{ nTxtTop, nTxtLeft, nTxtBottom, nTxtRight },nStyle  )
Best regards,
Otto
by Otto
Thu Dec 24, 2009 10:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: LEFT() and RIGHT() but in centimeters in stead of characters
Replies: 3
Views: 705

Re: LEFT() and RIGHT() but in centimeters in stead of characters

Hello Michael,
I use this code:

Code: Select all  Expand view
while oWnd:GetWidth(text,oFont) < nPX
         n := n + 1
         text := padr( (cChartCaption) ,n)
      end
 


Best regards,
Otto
by Otto
Wed Dec 02, 2009 10:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: LEFT() and RIGHT() but in centimeters in stead of characters
Replies: 3
Views: 705

LEFT() and RIGHT() but in centimeters in stead of characters

Hello, I'm looking for a function which can take a left or a right part of a string in centimeters. I want to use this string to put into a Word document but the space I have is limited. Since proportional fonts are used, I cannot use the normal LEFT() or RIGHT(). ...
by driessen
Wed Dec 02, 2009 9:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: LEFT() and RIGHT() but in centimeters in stead of characters
Replies: 3
Views: 705

Re: Printing a pre-formated letter

Please build a reduced and self-contained sample of what you are trying to do. Please note that CmSay() means "Centimeters Say", ie. you have to provide the coordinates in centimeters.

EMG
by Enrico Maria Giordano
Thu Feb 19, 2009 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing a pre-formated letter
Replies: 7
Views: 1101

New FTDN October / Octubre 2008 (8.10)

... * Fix: function TrackMouseEvent() had a mistake in its code. Now it is fine. * New: Class TPrinter Method MmSay( nRow, nCol ), same as CmSay() (centimeters), but managing milimeters. * Enhancement: function PrnOffset( hDC ) --> aPoint has been modify to use GetDeviceCaps() to retrieve such ...
by Antonio Linares
Sun Oct 12, 2008 8:10 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN October / Octubre 2008 (8.10)
Replies: 1
Views: 3304

Ken, > Was there a reason why centimeters was chosen as opposed to millimeters? No, not a specific reason. Lets implement MmSay() too: METHOD MmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ); INLINE ; (::Mmtr2Pix(@nRow, ...
by Antonio Linares
Fri Oct 03, 2008 10:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TPrinter:CmSay() and PrnOffset()
Replies: 2
Views: 680

TPrinter:CmSay() and PrnOffset()

... printer coordinates and found it easier if the coordinates where entered as millimeters. However, using oPrn:cmsay(), the input must be in centimeters which then gets converted back to millimeters. Was there a reason why centimeters was chosen as opposed to millimeters? PrnOffset() Escape( ...
by Ken Wantz
Fri Oct 03, 2008 3:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TPrinter:CmSay() and PrnOffset()
Replies: 2
Views: 680

Re: Scanner automation

Hello, I'd like to make a dialog with a button that instructs a scanner to start scanning and save the scanned document in a pre defined folder. Do you guys have ideas? Patrick Hi Patrick, I suggest you to use the Rafa Carmona's tscan class. It use the DOSADI dlls that are not free if you want to u...
by Marco Turco
Sat Jun 07, 2008 1:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Scanner automation
Replies: 7
Views: 4112
Next

Return to advanced search