Table of Contents

TTMSFNCPlannerCacheItem.CreateCell Method

Creates a cache tile for a grid cell covering the specified column, row, time range, and resource position.

API unit family: TMSFNCPlannerData Declaring type: TTMSFNCPlannerCacheItem

Syntax

class function CreateCell(ARect: TRectF; ACol, ARow: Integer; AStartTime, AEndTime: TDateTime; APosition: Integer): TTMSFNCPlannerCacheItem;

Parameters

Name Description
ARect Bounding rectangle of the cell tile in planner canvas coordinates.
ACol Zero-based visible column index represented by the cell.
ARow Zero-based visible row index represented by the cell.
AStartTime Start time represented by the cell.
AEndTime End time represented by the cell.
APosition Zero-based resource position index represented by the cell.

Returns

A cache item initialised for a planner grid cell.