Loading Documents from the Web

To load a file from the Web you must first download it to your application using an asynchronous request such as WebClient or HttpWebRequest. Then you simply pass the resulting stream to the LoadDocument method. The following code snippet example uses a WebClient type of request:

      Visual Basic

      C#

What You've Accomplished

In this example you've loaded PDF files into the C1PdfViewer control from the Web.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.