Getting the generated PPT size

Is there any way for me to know

what is the current size of the presentation ?

let say we want to prevent creation of PPTs that that are more then 15 MB

thanks

Amit

Dear Amit,

If is easy to know the current size of any file in C#. e.g

FileInfo fi = new FileInfo(@"C:\Test\right.ppt");
int size = fi.Length;