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.

procedure LoadFromFile(AFileName: string); overload;

Parameters

Name Description
AFileName The source file path.

Overload 2

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

procedure LoadFromFile(AFile: TTMSFNCUtilsLoadFile); overload;

Parameters

Name Description
AFile The selected file to read from.