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

class function CreateItem(ARect: TRectF; APosition: Integer; AItem: TTMSFNCPlannerItem; AIndex: Integer): TTMSFNCPlannerCacheItem;

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.