Skip to main content
Table of Contents

TTMSFNCPlannerCacheItem.CreateItem Method

Creates a cache tile for a planner appointment item at the given position and render index.

API unit family: TMSFNCPlannerData Declaring type: TTMSFNCPlannerCacheItem

Syntax

FMX.TMSFNCPlannerData.hppPascalC++
class function CreateItem(ARect: TRectF; APosition: Integer; AItem: TTMSFNCPlannerItem; AIndex: Integer): TTMSFNCPlannerCacheItem;
__classmethod TTMSFNCPlannerCacheItem* __fastcall CreateItem(const System::Types::TRectF &ARect, int APosition, TTMSFNCPlannerItem* AItem, int AIndex);

Parameters

Name Description
ARect Bounding rectangle of the item tile in planner canvas coordinates.
APosition Zero-based resource position index occupied by the item tile.
AItem Planner item associated with the tile.
AIndex Render index of the item tile when the item spans multiple rectangles.

Returns

A cache item initialised for the specified planner item tile.