Antonio /Everyone;
Hi.
Does the method GetLineFromChar( nChar ) on the richtext class returns the position of the given nchar in centemeters or inches or what?
It does not seem to be working properly. Does anybody know?
Best,
Reinaldo.
This message returns the zero-based index of the line.
nFrom := REPrintBox( oRtf:hWnd, ::oPrn:hDCOut, .t., nTop, nLeft, nBottom, nRight, nFrom )
oRtf:GetLineFromChar( nFrom )
::nLastLine := ( ( aoRtf[i]:GetLineFromChar( nFrom ) - nTmp ) * ::oprn:Pix2Inch( aortf[i]:oFont:nHEIGHT, 0 )[1] ) + nTOPOffset
::nlastline += 0.32 //couple of blank lines
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 76 guests