IGxImageFormatClass.MemoryBmp

Syntax

MemoryBmp: IGxImageFormat;

Description

TheMemoryBmp property returns the graphic object in the BPM format from the memory.

Example

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

Image: IGxImage;

ImgFormat: IGxImageFormat;

s: String;

Begin

Image:=ImageBox1.Image;

ImgFormat:=Image.RawFormat;

If ImgFormat=GxImageFormats.MemoryBmp Then

s:="Yes";

Else

s:="No";

End If;

End Sub Button1OnClick;

After executing the example on clicking the button the "s" variable contains Yes if the component named ImageBox1 contains the image in the BMP format in the memory.

See also:

IGxImageFormatClass