Table of Contents

TTMSFNCCustomHotSpotImage.AddRectangleHotSpot Method

Adds a rectangular hotspot.

API unit family: TMSFNCHotSpotImage Declaring type: TTMSFNCCustomHotSpotImage

Syntax

function AddRectangleHotSpot(ARect: TRectF; AName: string = ''; AAppearance: TTMSFNCHotSpotAppearance = nil): TTMSFNCHotSpot; virtual;

Parameters

Name Description
ARect Rectangle that defines the hotspot bounds.
AName Optional hotspot name.
AAppearance Optional appearance copied to the hotspot.

Returns

The newly created hotspot.