We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date


Will this:

using (var doc = new PdfLoadedDocument(pdfFile))

be equivalent to:

var doc = new PdfLoadedDocument(pdfFile));

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.  
Bhuvaneswari N 

Live Chat Icon For mobile
Up arrow icon