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.
Unfortunately, activation email could not send to your email. Please try again.

PdfLoadedDocument.Close()

Thread ID:

Created:

Updated:

Platform:

Replies:

125094 Jul 20,2016 10:28 AM Jul 21,2016 08:36 AM Windows Forms 1
loading
Tags: PDF
Jacobus Terhorst
Asked On July 20, 2016 10:28 AM

Will this:

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


be equivalent to:

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



Bhuvaneswari Nagarajan [Syncfusion]
Replied On July 21, 2016 08:36 AM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;