Skip to main content
Table of Contents

TTMSFNCBitmapContainer.RandomBitmap Method

Returns a randomly selected bitmap from the collection.

API unit family: TMSFNCBitmapContainer Declaring type: TTMSFNCBitmapContainer

Syntax

FMX.TMSFNCBitmapContainer.hppPascalC++
function RandomBitmap: TTMSFNCBitmap;
TTMSFNCBitmap* __fastcall RandomBitmap();

Returns

A randomly selected bitmap, or nil when the collection is empty.