Skip to main content
Table of Contents

TTMSFNCCustomMemo.AddSourceFromFile Method

Adds a source document loaded from a file.

API unit family: TMSFNCMemo Declaring type: TTMSFNCCustomMemo

Syntax

FMX.TMSFNCMemo.hppPascalC++
function AddSourceFromFile(AFileName: string; AName: string = ''): TTMSFNCMemoSource;
TTMSFNCMemoSource* __fastcall AddSourceFromFile(System::UnicodeString AFileName, System::UnicodeString AName = System::UnicodeString());

Parameters

Name Description
AFileName The file name to load.
AName The source document name.

Returns

The source document that was added.