Thursday, December 8, 2011

PDF Compression by iTextsharp

string pdfFile = @"D:\google.pdf";
PdfReader reader = new PdfReader(pdfFile);
PdfStamper stamper = new PdfStamper(reader, new FileStream(@"D:\google.pdf", FileMode.Create), PdfWriter.VERSION_1_5);
stamper.FormFlattening = true;

Action Method in Mvc

In this section, you will learn about the action method of controller class. All the public methods of a Controller class are called Act...