GdPicture.NET Reference Guide
GdPictureImaging Class
Members  Example 





GdPicture14 Namespace : GdPictureImaging Class
The GdPictureImaging class offers a huge amount of imaging features that GdPicture.NET toolkit provides. It is used as a wrapper class to allow you easily operate with your image files of different formats. Please find all the currently supported input document formats listed here.
Syntax
'Declaration
 
Public NotInheritable Class GdPictureImaging 
public sealed class GdPictureImaging 
public class GdPictureImaging sealed; 
public sealed class GdPictureImaging 
public __gc __sealed class GdPictureImaging 
public ref class GdPictureImaging sealed 
Remarks
You need to create an object of this class to fully work with your image files. This object subsequently represents a wrapper for all the image resources you want to process. We recommend going with one GdPictureImaging object for all processing images.
Example
How to load an image file using the GdPictureImaging class.
Dim oImage As GdPictureImaging = New GdPictureImaging()
Dim imageID As Integer = oImage.CreateGdPictureImageFromFile("")
If oImage.GetStat() = GdPictureStatus.OK Then
    MessageBox.Show("The image has been created successfully." + vbCrLf +
                    "The file path: " + oImage.GetLastPath() + vbCrLf + "The imageID: " + imageID, "GdPictureImaging")
    oImage.ReleaseGdPictureImage(imageID)
Else
    MessageBox.Show("The image can't be created. Status: " + oImage.GetStat().ToString(), "GdPictureImaging")
End If
oImage.Dispose()
GdPictureImaging oImage = new GdPictureImaging();
int imageID = oImage.CreateGdPictureImageFromFile("");
if (oImage.GetStat() == GdPictureStatus.OK)
{
    MessageBox.Show("The image has been created successfully.\nThe file path: " + oImage.GetLastPath() +
                    "\nThe imageID: " + imageID, "GdPictureImaging");
    oImage.ReleaseGdPictureImage(imageID);
}
else
    MessageBox.Show("The image can't be created. Status: " + oImage.GetStat().ToString(), "GdPictureImaging");
oImage.Dispose();
Inheritance Hierarchy

System.Object
   GdPicture14.GdPictureImaging

See Also

Reference

GdPictureImaging Members
GdPicture14 Namespace