[]
        
(Showing Draft Content)

Quick Start

The following example demonstrates loading a PDF document in FlexViewer.

Required namespaces

using C1.Document;
using C1.Maui.Viewer;
using C1.Report;
using System.Net;

Load a PDF Document

C#

var source = new C1PdfDocumentSource();source.LoadFromFile(@"D:\FlexViewer\DefaultDocument.pdf");
flexViewer.DocumentSource = source;

Note: LoadFromFile is synchronous and processes the PDF on the calling thread. For large documents or low-memory devices, run the operation on a background thread to keep the UI responsive.