DIBMP:IsValid  Access

<< Click to Display Table of Contents >>

Navigation:  DiBMP Class >

DIBMP:IsValid  Access

Previous pageReturn to chapter overviewNext page
Type        Logic

Purpose

This access returns TRUE when a bitmap has been successfully loaded into memory; otherwise, it returns FALSE.

Example

// Load the bitmap and make sure it is valid

oDIBMP:LoadDIBFromFile("C:\WINDOWS\CASTLE.BMP")

if oDIBMP:IsValid

         oDIBMP:DrawDIB(...)

endif