Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 26212

TPrinter recent methods PrintImage() and SayText()

$
0
0
It appears to me that the recently introduced methods PrintImage and SayText of TPrinter class have gone mostly unnoticed. oPrn:SayText( nRow, nCol, cText, [nWidth], [nHeight], [oFont], [cAlign], [nClrText], [nClrBack] ) --> nLastRow printed Useful for priting multi-line text. The return value can be used to continue printing next lines. oPrn:PrintImage( nRow, nCol, uImage, nWidth, nHeight, lStretch, nAlpha, lTransp, lGray ) --> nLastRow printed uImage can be any image source. For those who like, I suggest trying this sample program: [code=fw:35w9mevu][/code:35w9mevu] I used some jpg's which are not available in the fwh\samples folder. You may substitute with your own jpgs or other image files. [url=https://imageshack.com/i/poeOU4aop:35w9mevu][img:35w9mevu]http://imagizer.imageshack.us/v2/xq90/924/eOU4ao.png[/img:35w9mevu][/url:35w9mevu] I hope you will notice much better quality of printing.

Viewing all articles
Browse latest Browse all 26212

Trending Articles