PdfDocumentSource allows you to load a PDF in FlexViewer control using two methods, LoadFromFileAsync and LoadFromStreamAsync, of C1PdfDocumentSource class. The LoadFromFileAsync method loads PDF from the source file and the LoadFromStreamAsync method loads a PDf from source stream.
The following code uses the LoadFromFileAsync method to load a PDF from source file.