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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Automating PDF creation.

Thread ID:





80005 Mar 6,2009 12:34 PM UTC Mar 9,2009 06:46 AM UTC WinForms 1
Tags: PDF
Marty Graham
Asked On March 6, 2009 12:34 PM UTC

Windows Forms
Win Xp
PDF V.4.4

You guys have been a great help.
In an automated reporting process how determine when tne file creation is complete and the file is closed.


Sri Subhashini M [Syncfusion]
Replied On March 9, 2009 06:46 AM UTC

Hi Martin,

Thank you for your interest in Syncfusion PDF.

Calculating File creation/closing Time

We can calculate file creation and its closing time using DateTime class. Here is the sample code snippet to calculate the time creation time,

Dim FileCreationTime As DateTime = DateTime.Now
'Create a new PDF Document. The pdfDoc object represents the PDF document.
Dim pdfDoc As PDFDocument = New PDFDocument()
'Save the PDF Document to disk.
Dim endTime As DateTime = DateTime.Now
' File creation Time.
Dim time As TimeSpan = endTime.Subtract(FileCreationTime)

Please do find the sample which demonstrates the above mentioned feature and let me know if this helps,




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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon