Tips and Frequently Asked Questions
Saving TAdvStringGrid to a JPEG file
With code below, the output of TAdvStringGrid is sent to a JPEG file:
var pBitmap: TBitmap; jp: TJPEGImage; R: TRect; begin pBitmap := TBitmap.Create; //create a new instance of a bitmap jp := TJPEGImage.Create; //create new instance of a jpg file R := Rect(0,0,950,760); //parameters for rectangle pBitmap.Height := 622; //set bmp height pBitmap.Width := 812; //set bmp width AdvStringGrid1.PrintPreview(pBitmap.Canvas,R); //call Preview to paint to BMP canvas jp.Assign(pBitmap); //get picture from bitmap for JPG Image jp.SaveToFile('c:\temp\Grid.jpg'); //save picture as JPG File pBitmap.Free; jp.Free; end;
Pricing
Single Developer License
Small Team License
Site License
TMS VCL UI Pack
€ 375
€
150
yearly renewal
license for 1 developer
MOST POPULAR
BEST VALUE
All prices excl. VAT. Renewal price is subject to change and only valid up to 30 days after license has expired. After renewal period a discount price is offered to renew the license.
Free Trial
Note that the TMS VCL UI Pack replaces the TMS Component Pack. Both products can't be installed simultaneously. Therefore TMS Component Pack must first be uninstalled before installing the TMS VCL UI Pack