PdfLoadedDocument.Close()

Will this:

using (var doc = new PdfLoadedDocument(pdfFile))
{
}


be equivalent to:

var doc = new PdfLoadedDocument(pdfFile));
doc.Close();



1 Reply

BN Bhuvaneswari Nagarajan Syncfusion Team July 21, 2016 12:36 PM UTC

Hi Jacobus, 
Thanks for using Syncfusion products, 
Yes, both are equivalent. Usually we will use “using” for disposing the objects.  
  
Regards, 
Bhuvaneswari N 


Loader.
Up arrow icon