GdPicture.NET Reference Guide
GdPicturePDF Class
Members  Example 





GdPicture14 Namespace : GdPicturePDF Class
The GdPicturePDF class is responsible for almost all PDF features that GdPicture.NET toolkit offers. It is used as a wrapper class to allow you easily operate with PDF documents.
Syntax
'Declaration
 
Public NotInheritable Class GdPicturePDF 
public sealed class GdPicturePDF 
public class GdPicturePDF sealed; 
public sealed class GdPicturePDF 
public __gc __sealed class GdPicturePDF 
public ref class GdPicturePDF sealed 
Remarks
You need to create an object of this class to fully work with PDF files. This object subsequently represents a wrapper for the currently loaded PDF document.
Example
How to load a PDF file using the GdPicturePDF class.
Dim oGdPicturePDF As New GdPicturePDF()
Dim status As GdPictureStatus = oGdPicturePDF.LoadFromFile("MyPDF.pdf", False)
If status = GdPictureStatus.OK Then
    MessageBox.Show("The file has been loaded successfully.", "GdPicturePDF")
Else
    MessageBox.Show("The file has failed to load with the status: " + status.ToString(), "GdPicturePDF")
End If
oGdPicturePDF.Dispose()
GdPicturePDF oGdPicturePDF = new GdPicturePDF();
GdPictureStatus status = oGdPicturePDF.LoadFromFile("MyPDF.pdf", false);
if (status == GdPictureStatus.OK)
{
    MessageBox.Show("The file has been loaded successfully.", "GdPicturePDF");
}
else
{
   MessageBox.Show("The file has failed to load with the status: " + status.ToString(), "GdPicturePDF");
}
oGdPicturePDF.Dispose();
Inheritance Hierarchy

System.Object
   GdPicture14.GdPicturePDF

See Also

Reference

GdPicturePDF Members
GdPicture14 Namespace
GdPicturePDF Constructor
Dispose Method