Programming
/ Document Viewing
/ Viewing documents from different sources
Viewing documents from different sources
In This Topic
Viewing images and PDF documents from locally stored files
The GdViewer class is designed to automate most viewing operations for you.
All you have to do is add a GdViewer object to your form and call one of the Display functions, for example DisplayFromFile().
As you can see, an empty string is passed as the file location parameter. This prompts the function to display an OpenFileDialog, that is linked to the GdViewer. To see, how to create and integrate the GdViewer in your application, please look at your first GdPicture.NET application or try our Document Viewer Sample.
Viewing GdPictureImage identifiers
Most GdPicture image processing occurs by using GdPictureImage identifiers. Here is a simple code showing how to create a GdPictureImage identifier from a file and then how to view the created image in your GdViewer.
To see, how to create and integrate the GdViewer in your application, please look at your first GdPicture.NET application or try our Document Viewer Sample.
Viewing GdPicturePDF objects
The GdPicturePDF class is a complete class offering features, that allow you easily operate with your PDF documents. If you want to view your changes after creating or loading your PDF documents, just use this simple code snippet:
To see, how to create and integrate the GdViewer in your application, please look at your first GdPicture.NET application or try our Document Viewer Sample.
Viewing documents from another sources