Table of Contents

TTMSFNCMemoDragFile Class

Represents a single file that was dragged into the editor, providing access to its name, MIME type, and size.

API unit family: TMSFNCMemo Inherits from: TPersistent

Syntax

TTMSFNCMemoDragFile = class(TPersistent)

Properties

Name Description
MIMEType The MIME type of the dragged file (e.g. text/plain, application/json).
Name The file name of the dragged file, including the extension.
Size The size of the dragged file in bytes.

Methods

Name Description
Open Initiates reading the file content from the drag-and-drop source into the editor.