Skip to main content
Table of Contents

TTMSFNCWXPDFViewer.LoadFromBase64 Method

Loads a document from a Base64-encoded string and displays it.

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

Syntax

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

Parameters

Name Description
FileBase64 The document content encoded as a Base64 string.
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.