Table of Contents

TTMSFNCSVGImageCollection.GetIndexByName Method

Returns the zero-based index of the image with the specified name, or -1 if not found.

API unit family: TMSFNCTypes Declaring type: TTMSFNCSVGImageCollection

Syntax

function GetIndexByName(const AName: String): Integer; override;

Parameters

Name Description
AName Name to search for.

Returns

Zero-based index of the matching image, or -1 if not found.