IGxImageFormatClass.MemoryBmp

Syntax

MemoryBmp: IGxImageFormat;

Description

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

Example

Executing the example requires a form that contains a button and the ImageBox component named ImageBox1. An image is loaded to ImageBox1.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Image: IGxImage;
    s: String;
Begin
    Image := ImageBox1.Image;
    If Image.RawFormat = GxImageFormats.Gif Then
        s := "Yes";
    Else
        s := "No";
    End If;
End Sub Button1OnClick;

On clicking the button the "s" variable contains Yes if the ImageBox1 component contains a bitmap image in the memory.

See also:

IGxImageFormatClass