MAXScript Language Reference > 3ds Max Objects > BitmapIO : MAXWrapper >

# BMP interfaces:

    BMP - superclass: BitmapIO; super-superclass:MAXWrapper - classID: #(11, 0)

Constructor

Class instances not creatable by MAXScript

Aliases:

    BMP bmpio

BMP interfaces

    Interface: ibmpio

Methods

    bmp.getType ()
    getType enums: {#noType|#paletted|#true24}

This method returns the format type, which is one of the enum types. Note: #noType is equivalent to #true24

    bmp.setType <enum>type
    type enums: {#noType|#paletted|#true24}

This method allows you to set the format type. Note: #noType is equivalent to #true24.

type: The type, which is one of the enum types.

The methods in this interface can be accessed by specifying the class, interface, and method. For example: bmp.ibmpio.getType() .

MAXScript will automatically search through a class’ interfaces for a property or method name if the name isn’t found as a class method or property. This allows you to say: bmp.getType() .

Providing the fully qualified name of the method results in faster script execution. Providing the fully qualified name is also safer, as at some point in time another interface could be specified for the class, and a method or property with the same name could be defined in that interface. Which method or property is used would then be dependent on the order in which the interfaces were searched for the method or property name.

See Also Class IBitmapIO_Bmp, in the SDK Help file accompanying this product.

#### See Also

- BitmapIO Classes

- JPEG : BitmapIO

- Portable_Network_Graphics : BitmapIO

- Targa : BitmapIO

- TIF : BitmapIO