Skip to main content
Table of Contents

TTMSFNCBloxControl.LoadFromFile Method

Loads a diagram, including its settings, from a file, replacing the current content.

API unit family: TMSFNCBloxControl Declaring type: TTMSFNCBloxControl

Overloads

Overload 1

Loads a diagram, including its settings, from a file, replacing the current content.

FMX.TMSFNCBloxControl.hppPascalC++
procedure LoadFromFile(AFileName: string); overload;
void __fastcall LoadFromFile(System::UnicodeString AFileName)/* overload */;

Parameters

Name Description
AFileName The source file path.

Overload 2

Loads a diagram from a previously selected file, replacing the current content.

Pascal
procedure LoadFromFile(AFile: TTMSFNCUtilsLoadFile); overload;

Parameters

Name Description
AFile The selected file to read from.