DIBMP:Colors  Access

<< Click to Display Table of Contents >>

Navigation:  DiBMP Class >

DIBMP:Colors  Access

Previous pageReturn to chapter overviewNext page
Type        ShortInt

Purpose

This access returns the number of colors stored in the currently loaded bitmap.  If a bitmap is not loaded, it returns 0.

Example

// Retrieve the number of colors

nColors := oDIBMP:Colors