.netasp.netpdf

pdf resize in browser before opening


Response.ContentType = "Application/pdf";
string FilePath = Server.MapPath("reliance.pdf");
 Response.WriteFile(FilePath);
        Response.End();

How can we resize the pdf file before it gets open in browser....can you tell me? thanks


Solution

  • Take a look at this Adobe PDF, you can customise a lot with some filename.pdf#... parameters:

    pdf_open_parameters.pdf