Get File Size Of PDF Document

Get File Size Of PDF Document

Forum member · Jul 19, 2010
Hi, Hi, We are currently using Dynamic PDF Merger for our development. Could you please tell me is there are any way get File Size of pdf Document using any CETE software. Greately appreciate if you could reply as soon as possible. Thanks, Regards.

Re: Get File Size Of PDF Document

Support · Jul 19, 2010
Hello, It is not possible to get the file size using our DynamicPDF Converter API. You can use the FileInfo class of the System.IO namespace to get the file size and below is the code for it. FileInfo fileinfo = new FileInfo(@"Path for the file"); long filesize=fileinfo.Length; Thanks, ceTe Software Support Team