'Declaration
Public Sub Dispose()
public void Dispose()
public procedure Dispose();
public function Dispose();
public: void Dispose();
public: void Dispose();
This method implicitly calls the GdPicturePDF.CloseDocument method.
'Declaration
Public Sub Dispose()
public void Dispose()
public procedure Dispose();
public function Dispose();
public: void Dispose();
public: void Dispose();
'The elementary use of the Dispose() method. Dim gdpicturePDF As New GdPicturePDF() 'You can do your stuff with gdpicturePDF here. gdpicturePDF.Dispose() 'The very good practice is to use the keyword "using". Using gdpicturePDF As New GdPicturePDF() 'You can do your stuff with gdpicturePDF here. 'You do not need to call the Dispose() method, it is called automatically inside the "using" statement. End Using
//The elementary use of the Dispose() method. GdPicturePDF gdpicturePDF = new GdPicturePDF(); //You can do your stuff with gdpicturePDF here. gdpicturePDF.Dispose(); //The very good practice is to use the keyword "using". using (GdPicturePDF gdpicturePDF = new GdPicturePDF()) { //You can do your stuff with gdpicturePDF here. //You do not need to call the Dispose() method, it is called automatically inside the "using" statement. }