Table of Contents

TTMSFNCWXCustomPDFViewer.LoadFromBase64 Method

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

API unit family: TMSFNCWXPDFViewer Declaring type: TTMSFNCWXCustomPDFViewer

Syntax

procedure LoadFromBase64(FileBase64: string; PageNumber: Integer = 1; AZoom: Single = 1; RotateAngle: TTMSFNCWXPDFViewerRotationAngle = ANGLE_DEFAULT);

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.