In this article you will learn how to generate a runtime PDF in landscape page mode.
I will explain here how to generate a runtime PDF in landscape page mode using Visual Studio Ultimate 2015 Preview.Briefly, I will generate the runtime PDF using ITextSharp.Note: I will use the "iTextSharp.dll" as a PDF generator library. You can download it from: Sourceforge and NuGet.You can find it in the attached file in the "bin" folder of this article but the best way to add the ItextSharp is described in Step B.Step A: Create a new website named "Website1".Step B: Add the ItextSharp library from the NuGet package using the following sub-steps:
Then a popup windows will open like:Type "ItextSharp" into the Search TextBox. Then you will get the "ItextSharp" library in the left pane. To add it to the website just click on the Install button of the right pane.After the installation, you see the "Right" sign in left pane that indicates that library has been installed.You can also check it from the Solution Explorer.Step C
Step D
ASP.NET GridView Control Pocket Guide