Table of Contents

TTMSFNCMemoryStream.OpenFile Method

Opens a browser file-picker dialog restricted to the specified MIME type and loads the selected file into the stream.

API unit family: TMSFNCTypes Declaring type: TTMSFNCMemoryStream

Syntax

procedure OpenFile(FileType: string);

Parameters

Name Description
FileType MIME type or file extension filter string passed to the browser file-picker, for example image/* or .pdf.