Quick Navigation

DynamicPDF™ Merger.NET Compatibility

DynamicPDF™ Merger v3.0 for .NET contains many improvements over previous versions and the object model is not 100% compatibale with DynamicPDF™ Merger.NET. In most cases the changes to code written for Merger.NET are very minor. This page details the changes so that code written for Merger.NET can quickly be adapted to work with Merger v3.0 for .NET.

  1. Streaming PDFs to a WebForm
    The method used to output PDFs to a WebForm has changed. This was done so that applications that do not output to a WebForm, such as WinForm or Console applications, do not need to referance the System.Web assembly. Output to a WebForm is now done using the DrawToWeb method:
     
    Visual Basic Code:
    MyDocument.DrawToWeb(Me, "MyDocument.pdf")
    C# Code:
    document.DrawToWeb( this, "MyDocument.pdf" );
  2. Corrected Case in Names of 3 Classes
    The following classes have had the case corrected in thier names:
    • PDFDocument is now PdfDocument
    • PDFPage is now PdfPage
    • PDFPageList is now PdfPageList
  3. Modified Class Names
    The following class names had been modified:
    • PDFAcroForm is now PdfForm
    • PDFAcroFormField is now PdfFormField
    • PDFAcroFormFieldList is now PdfFormFieldList

DynamicPDF™ Generator.NET Compatibility

DynamicPDF™ Generator v3.0 for .NET contains many improvements over previous versions and the object model is not 100% compatibale with DynamicPDF™ Generator.NET. In most cases the changes to code written for Generator.NET are very minor. This page details the changes so that code written for Generator.NET can quickly be adapted to work with Generator v3.0 for .NET.

  1. Streaming PDFs to a WebForm
    The method used to output PDFs to a WebForm has changed. This was done so that applications that do not output to a WebForm, such as WinForm or Console applications, do not need to referance the System.Web assembly. Output to a WebForm is now done using the DrawToWeb method:
     
    Visual Basic Code:
    MyDocument.DrawToWeb(Me, "MyDocument.pdf")
    C# Code:
    document.DrawToWeb( this, "MyDocument.pdf" );
  2. New Namespace For 3 Classes
    The following classes have moved to a new namespace:
    • TrueTypeFont moved to ceTeDynamicPDF.Text.TrueTypeFont
    • Type1Font moved to ceTeDynamicPDF.Text.Type1Font
    • FontFamily moved to ceTeDynamicPDF.Text.FontFamily
  3. Corrected Case in Names of 17 Classes
    The following classes have had the case corrected in thier names:
    • CMYKColor is now CmykColor
    • EAN13 is now Ean13
    • EAN13Sup2 is now Ean13Sup2
    • EAN13Sup5 is now Ean13Sup5
    • EAN8 is now Ean8
    • EAN8Sup2 is now Ean8Sup2
    • EAN8Sup5 is now Ean8Sup5
    • HtmlTextArea is now HtmlTextArea
    • HtmlTextAreaStyle is now HtmlTextAreaStyle
    • UPCBase is now UpcBase
    • UPCVersionA is now UpcVersionA
    • UPCVersionASup2 is now UpcVersionASup2
    • UPCVersionASup5 is now UpcVersionASup5
    • UPCVersionE is now UpcVersionE
    • UPCVersionESup2 is now UpcVersionESup2
    • UPCVersionESup5 is now UpcVersionESup5
  4. ImageStream Class Replaced with ImageData Class
    Imaging has undergone many changes for Generator v3.0 for .NET. Most of these changes do not affect use of the API. However, if your code uses the ImageStream class, it will now need to be modified to use the ImageData class. The ImageData class can be used in the constructors of the Image and BackGround image Page Elements.
     
    Visual Basic Code:
    ' Create an ImageData object from the image.
    Dim MyImageData As ImageData = ImageData.GetImage( "C:\MyLogo.gif" )
    ' Add the image to the fist page twice.
    MyPage1.Elements.Add( New BackgroundImage( imageData ) )
    MyPage1.Elements.Add( New Image( imageData, 0, 0, 0.24f ) )
    ' Add the image to the second page at a differant location and scale.
    MyPage2.Elements.Add( New Image( imageData, 100, 100, 0.48f ) )
    C# Code:
    // Create an ImageData object from the image.
    ImageData imageData = ImageData.GetImage( @"C:\MyLogo.gif" );
    // Add the image to the fist page twice.
    page1.Elements.Add( new BackgroundImage( imageData ) );
    page1.Elements.Add( new Image( imageData, 0, 0, 0.24f ) );
    // Add the image to the second page at a differant location and scale.
    page2.Elements.Add( new Image( imageData, 100, 100, 0.48f ) );
Latest News

DynamicPDF v5 for .NET

ceTe Software is pleased to announce the release of DynamicPDF v5.0 for .NET. Please click here to download.


New Products Coming Soon

We are pleased to announce the upcoming release of our 3 new products:

     DynamicPDF Viewer

     DynamicPDF Converter

     DynamicPDF Rasterizer

Please contact info@cete.com for general information or for Beta testing these great new products.

Customer Quotes

Spectacular turn around times as usual, I am very glad that we picked your product over [a competitor]'s!

-- Pedro Vera, NetLink Resource Group, Inc.

Site Map   |   Contact Us   |   Legal Stuff © 2008 ceTe Software