PRODUCTS » Quick Links

FEATURED PRODUCT

Create modern-looking & feature-rich applications with over 350 components including award-winning grids, scheduling components, Office 2010/2007/2003 ribbon & toolbars, calendars, application update and much more...

License only 195 EUR See More

LOGIN

Customer login to access products, support information & special benefits.

SEARCH

STAY IN TOUCH

Add your e-mail address here to receive the monthly TMS Software alerts.

 
PRODUCTS » VCL COMPONENTS » TADVSTRINGGRID
v7.1.0.0 (May 10, 2013)



Purchase a license



TAdvStringGrid

The high productivity & feature-packed grid control

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;

Bruno Fierens (Jan 27, 2009)


Buy online

CreditCards Accepted
TAdvStringGrid
for Delphi 7, 2006, 2007, 2009, 2010, XE, XE2, XE3, XE4, C++Builder 2006, 2007, 2009, 2010, XE, XE2, XE3, XE4 (Prof/Enterprise/Architect)
View licensing FAQ
  1. License for commercial use: Single developer license, Small team license, Site license
  2. Includes full source code
  3. Free updates for a full version cycle (from v7.1 to v8.0)
  4. Free priority support through email, newsgroup and forum

€ 95
Single developer license
for 1 developer
order now or add to cart
€ 150
Small team license
for 2 developers
order now or add to cart
€ 375
Site license for unlimited
developers in the company
order now or add to cart


This product is also available in the following bundle(s):

  1. TMS Component Pack

Copyright © 1995 - 2013 TMS Software v3.5