Skip to main content
Table of Contents

TTMSFNCWXCustomDocxViewer.LoadFromFile Method

Loads a document from a file on disk, encoding its content and rendering it in the viewer.

API unit family: TMSFNCWXDocxViewer Declaring type: TTMSFNCWXCustomDocxViewer

Syntax

FMX.TMSFNCWXDocxViewer.hppPascalC++
procedure LoadFromFile(FileName: string);
void __fastcall LoadFromFile(System::UnicodeString FileName);

Parameters

Name Description
FileName Full path of the document file to load.