Skip to main content
Table of Contents

TTMSFNCWXPDFViewer.LoadFromUrl Method

Loads a document from a URL and displays it.

API unit family: TMSFNCWXPDFViewer Declaring type: TTMSFNCWXPDFViewer Inherited from: TTMSFNCWXCustomPDFViewer

Syntax

FMX.TMSFNCWXPDFViewer.hppPascalC++
procedure LoadFromUrl(FileUrl: string; PageNumber: Integer = 1; AZoom: Single = 1; RotateAngle: TTMSFNCWXPDFViewerRotationAngle = ANGLE_DEFAULT);
void __fastcall LoadFromUrl(System::UnicodeString FileUrl, int PageNumber = 0x1, float AZoom = 1.000000E+00f, TTMSFNCWXPDFViewerRotationAngle RotateAngle = (TTMSFNCWXPDFViewerRotationAngle)(0x4));

Parameters

Name Description
FileUrl The address of the document to load.
PageNumber The one-based page to show first. Defaults to 1.
AZoom The initial zoom factor. Defaults to 1.
RotateAngle The initial rotation. Defaults to the current angle.