Dim gdpicturePDF As New GdPicturePDF()
Dim status As GdPictureStatus = gdpicturePDF.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
gdpicturePDF.Dispose()
GdPicturePDF gdpicturePDF = new GdPicturePDF();
GdPictureStatus status = gdpicturePDF.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");
}
gdpicturePDF.Dispose();