View RSS Feed

Programming & Scripting

  1. Set Initial PDF Document Zoom using iTextSharp

    by on June 28th, 2010 at 09:15 AM
    Another iTextSharp blog post, this time on setting the initial zoom for a document.

    Couldn't find an exact example of how to do this, but managed to cobble this together from a variety of code snippets I found.

    You can set the initial zoom of a document using iTextSharp by adding a SetOpenAction method to the PdfWriter object. I found I could only add this once the document had been opened using doc.Open(), otherwise I got an "Object reference" error. This I presumed ...
  2. Using iTextSharp to generate PDF with Header and Footer

    by on June 26th, 2010 at 06:03 AM
    This one had me struggling for a while, so I thought I'd post a blog about it to try and help others.

    What I was trying to do was create a PDF including header and footer sections to print documents onto a headed paper style.

    Using iTextSharp V5.0.2.0 DLL in the bin folder you can create PDFs on the fly. My previous blog explained how to generate a simple PDF. Next I wanted to generate something a bit more complicated.

    It seems previous versions of iTextSharp ...
  3. Generate PDF documents on the fly using ASP.NET and iTextSharp

    by on May 13th, 2010 at 04:53 PM
    As part of a project I'm working on, I have the need to generate PDF documents "on the fly" and then render them back to the browser.

    I was already aware of a dll module that provided this functionality, available at iTextSharp | Get iTextSharp at SourceForge.net so I thought I'd post a quick blog about how to get it working.

    Firstly, you need to place the .dll file in the bin directory of your application / website.

    I then created a new .aspx page, ...
  4. Using ASP.NET AJAX Library

    by on March 9th, 2010 at 09:47 AM
    ASP.NET AJAX library is currently Version 0911 Beta. The toolkit can be downloaded from ASP.NET Ajax Library

    I have previously used the AJAX Toolkit extensions in my ASP.NET projects and thought on my current project I'd see if there was an update.

    Finding the ASP.NET AJAX library beta, I thought I'd give this a go. However, I did come across a couple of trip-ups that I thought I'd post here as I couldn't find much info when I googled it.

    So, to get the AJAX ...
  5. Convert .asmx file to WCF .svc file to create simple API web service

    by on October 19th, 2009 at 10:12 PM
    3) Converting a .asmx file to WCF .svc file

    This is part of a series of blogs. The others are:-
    1) Introduction
    2) A simple .asmx file and calling a function

    The next section to cover is converting our .asmx file to a WCF web service. This is placed in a .svc file and uses Contracts to define what can be consumed in the web service and endpoints in the web.config of your application define how the service will be exposed.

    I guess the ...
Page 1 of 2 1 2 LastLast

SEO by vBSEO