DIBMP:Destroy() Method

<< Click to Display Table of Contents >>

Navigation:  DiBMP Class >

DIBMP:Destroy() Method

Previous pageReturn to chapter overviewNext page

Purpose

To free the memory allocated to hold the bitmap.

Syntax

<oDIBMP>:Destroy()

Description

This method frees the memory allocated to hold the bitmap.  After the memory is freed, the DIBMP object is invalid.  It cannot be used again until a bitmap is loaded via a DIBMP:LoadDIBFrom... method.

Example

// Free some memory

oDIBBMP:Destroy()