Skip to main content
All docs
V25.2
  • cxSchedulerICalendarImport(TcxCustomSchedulerStorage,string,TcxSchedulerICalendarImportOptions) Method

    Imports user event data from a file (in the iCalendar 2.0 format) to a scheduler storage component.

    Declaration

    function cxSchedulerICalendarImport(AStorage: TcxCustomSchedulerStorage; const AFileName: string; AOptions: TcxSchedulerICalendarImportOptions = [icioIgnoreInvalidEventPatterns]): Boolean;

    Parameters

    Name Type Description
    AStorage TcxCustomSchedulerStorage

    The target scheduler storage component (a TcxCustomSchedulerStorage descendant instance).

    AFileName string

    The path to the source file in the iCalendar 2.0 format.

    AOptions TcxSchedulerICalendarImportOptions

    Optional. A set of iCalendar data import option flags.

    If you omit the AOptions parameter, the cxSchedulerICalendarImport function ignores all invalid recurring event patterns in the source iCalendar 2.0 data file (AFileName).

    Returns

    Type Description
    Boolean

    True if the user event data import operation is successful; otherwise, False.

    Remarks

    Call cxSchedulerICalendarImport and cxSchedulerICalendarExport methods to import/export user event data to/from a scheduler storage component (a TcxCustomSchedulerStorage class descendant instance).

    Other User Event Import/Export Methods

    Microsoft Outlook Synchronization

    cxSchedulerExportToOutlook
    Exports the scheduler’s user events to Microsoft Outlook®.
    cxSchedulerImportFromOutlook
    Imports Microsoft Outlook® items into the scheduler.
    cxSchedulerSynchronizeOutlookWithStorage
    Updates Microsoft Outlook® with the scheduler’s stored data.
    cxSchedulerSynchronizeStorageWithOutlook
    Updates the scheduler’s stored data with the items of Microsoft Outlook®.

    Export to Document Formats

    cxExportSchedulerToCSV
    Exports user events from a scheduler control to a file in CSV (comma-separated values) format.
    cxExportSchedulerToExcel
    Exports user events from a scheduler control to a file in Microsoft Excel® binary format (XLS).
    cxExportSchedulerToFile
    Exports user events from a scheduler control to a file in the specified format.
    cxExportSchedulerToHTML
    Exports user events from a scheduler control to a file in HTML format.
    cxExportSchedulerToText
    Exports user events from a scheduler control to a file in plain text format.
    cxExportSchedulerToXLSX
    Exports user events from a scheduler control to a file in Office Open XML spreadsheet format (XLSX).
    cxExportSchedulerToXML
    Exports user events from a scheduler control to a file in XML format.
    See Also