Public Member Functions

IBitmapIO_Bmp Class Reference

Search for all occurrences

Detailed Description

This class represents the interface for the Bitmap IO BMP format.

This class is available in release 4.0 and later only.

All methods of this class are Implemented by the System.

The interfaceID is defined as BMPIO_INTERFACE. Through C++ you can access the interface the following way:

ClassEntry* ce = ip->GetDllDirectory()->ClassDir().FindClassEntry(BMM_IO_CLASS_ID, Class_ID(BMPCLASSID,0));
if (ce)
{
    ClassDesc* cd = ce->FullCD();
    if (cd) {
        IBitmapIO_Bmp* ib = (IBitmapIO_Bmp*)cd->GetInterface(BMPIO_INTERFACE);
        if (ib) {
            int i = ib->GetType();
            ib->SetType(i);
        }
    }
}

#include <istdplug.h>

Inheritance diagram for IBitmapIO_Bmp:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int  GetType ()=0
virtual void  SetType (int type)=0

Member Function Documentation

virtual int GetType ( ) [pure virtual]
Remarks:
This method returns the format type, which is one of the following; BMM_PALETTED, BMM_TRUE_24 and BMM_NO_TYPE (which is equivalent to BMM_TRUE_24).
virtual void SetType ( int  type ) [pure virtual]
Remarks:
This method allows you to set the format type.
Parameters:
int type

The type, which is one of the following; BMM_PALETTED, BMM_TRUE_24 and BMM_NO_TYPE (which is equivalent to BMM_TRUE_24).

IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp
IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp IBitmapIO_Bmp