TiComponent.SaveImageToBitmap

TiComponent See Also

Saves the current image of the component to a bitmap file.

procedure SaveImageToBitmap(FileName : String);

Description

Use SaveImageToBitmap to save the current image of the component to a bitmap file. The bitmap is a pixel-based representation of the component. It can be imported by many popular documentation and image editing software (Such as Microsoft Office, Paint Shop Pro, PhotoShop, etc.).

Note : The bitmap saved by this procedure is properly formatted. However, some applications have problems supporting all bitmap formats correctly.

Example

Delphi

iComponent.SaveImageToBitmap('c:\temp\test.bmp');

Kylix

iComponent.SaveImageToBitmap('/home/username/test');

C++ Builder

iComponent->SaveImageToBitmap("c:\temp\test.bmp");

Contents | Index | Previous | Next