Skip to main content
Table of Contents

TTMSFNCCustomMemo.AddSourceFromStream Method

Adds a source document loaded from a stream.

API unit family: TMSFNCMemo Declaring type: TTMSFNCCustomMemo

Syntax

FMX.TMSFNCMemo.hppPascalC++
function AddSourceFromStream(AStream: TStream; AName: string = ''): TTMSFNCMemoSource;
TTMSFNCMemoSource* __fastcall AddSourceFromStream(System::Classes::TStream* AStream, System::UnicodeString AName = System::UnicodeString());

Parameters

Name Description
AStream The stream to load.
AName The source document name.

Returns

The source document that was added.