Load Files in C#

Load PDF documents and images using C#. This is the first step in using the full potential of our library. Loading files to one of our custom classes allows you to perform different actions on those files. You can use different kind of sources, such as a local machine, a byte array, a stream object, or remote URLs.

Use the loading methods of the GdPicturePDF class to handle annotations, page labels, and other PDF-related functionalities. Loading an image to our GdPictureImaging class enables you to access different image format types, manipulate their content, draw new elements, and take full advantage of their metadata. If you want to convert files to different formats, use the loading methods of the GdPictureDocumentConverter class, which has the best performance for document conversion. The AnnotationManager class allows you to manage custom GdPicture and XMP annotations.

Try for Free Launch Demo

Nutrient SDKs are trusted by world’s most popular applications, including Autodesk, Disney, UBS, Dropbox, IBM, and Lufthansa. Nutrient’s powerful solutions enable seamless integration of PDF editing features into your applications, delivering reliability and efficiency to world-class enterprises.

Key Capabilities

  • Multiple file format support — Check the full list of supported file types

  • Load from various sources — Use your local machine, a byte array, a stream object, or a remote URL as the file source

Guides for Loading a File

Load a PDF Document
Load PDF documents

Load an Image
Load JPEG, PNG, bitmap, TIFF, and more image formats

Load a File for Conversion
Load any kind of file to change its format

Load Files with Annotations
Access the annotations stored in a file