... Called from: source\ut_preview.prg => PRNIMAGE( 409 ) I cal this method with oPrn:PrintImage( nRow,nCol,cImage,nWidth,nBottom,; lStretch, nAlpha, lTransp, lGray,; cUnits, cAlign) where is the error ?
... oTab:SetPrompts( aPrompts )#else oTab:aPrompts := ACLONE( aPrompts ) oTab:Refresh()#endif i can use ::lStretch but that is "too much" ... just want that hole Text "fit" p.s. "where" is the CODE for it --- CLASS TFolderEx() ...
use this oPrn:PrintImage( nTop, nLeft,cFile,nRight,nBottom, lStretch, nAlpha, lTransp, lGray ) see on email Hi Silvio, it's still the same error. The image position is different with PRINT oPrn NAME "prv_test" PREVIEW and PRINT oPrn NAME "prv_test" ...
use this oPrn:PrintImage( nTop, nLeft,cFile,nRight,nBottom, lStretch, nAlpha, lTransp, lGray ) see on email Hi Silvio, it's still the same error. The image position is different with PRINT oPrn NAME "prv_test" PREVIEW and PRINT oPrn NAME "prv_test" ...
... the ratio. So i calculate it with nPic_x := int( nPic_y * (oImage:nWidth() / oImage:nHeight()) ) from the predefined picture. The parameter lStretch := .T. without a nWidth gives wrong results! (different in tprinter and fwpdf) An other interesting effect is the print from transparent PNGs: ...
... to add clicked like in TImage METHOD New( nTop, nLeft, nWidth, nHeight, cResName, cBmpFile, lNoBorder,; oWnd, bLClicked, bRClicked , lScroll, lStretch, oCursor,; cMsg, lUpdate, bWhen, lPixel, bValid, lDesign, cVarName ) CLASS TImage regards Uwe :D Uwe, Sorry on BTnBMP is possible to place ...