Sends an arbitrary file specified via Path from the server's
hard drive to the client browser. This method can only be used under ASP.NET.
A script calling this method must not have any HTML tags in it
(not even comments) as they would corrupt the HTTP stream.
ContentType optionally specifies the Content-Type header for the HTTP
stream. This argument is "application/pdf" by default.
DispHeader optionally specifies the Content-Disposition
header for the HTTP stream. By default, the header
is set to "attachment; filename=filename.ext"
based on the name of the file being sent. You may choose
to pass a value for this argument if you want to specify
a filename other than the actual document name.
Usage:
objPDF.SendBinary( @"c:\path\a.pdf", null, "attachment; filename=b.pdf" );