DrawToWeb Method | Template Class | ceTe.DynamicPDF.PageElements Namespace | True Type Fonts | Type1 Fonts | Image Reuse | Document Output | Advanced Topics | Programming with Generator for .NET

DynamicPDF™ Generator for .NET is a highly efficient class library. ceTe Software has over 6 years experience designing PDF output components and our products are among the fastest on the market. Even though our components are highly efficient it is still possible to use them in a way that produces less than desirable results. Here are a few areas to look out for:

Image Reuse

When using the same image in a document multiple times it is important to ensure that the image data is not parse or included in the document multiple times. Take a look at the Image Reuse topic for details on how to best achieve this.

Font Reuse

When using the same TrueType or Type 1 font in a document multiple times it is important to ensure that the font data is not parse or included in the document multiple times. Take a look at the TrueType Fonts and Type 1 Fonts topic for details on how to best achieve this.

Page Element Reuse

Page Elements are designed so that they can be reused on multiple pages. If you are using a page element as a header, footer or other static element it is best to reuse the same Page Element as opposed to creating a new one for each page. The Group Page Element or Template class can be used to accomplish this easily. Take a look at the Templates topic for details on using templates.

Stream Output

When using DynamicPDF™ Generator for .NET on a web server it is most efficient to use the Document's DrawToWeb method. This outputs the PDF straight to the users web browser and eliminates the need for temporary files on the server. Take a look at the Document Output topic for information on the different methods of outputting or saving a PDF document.

See Also 

DrawToWeb Method | Template Class | ceTe.DynamicPDF.PageElements Namespace | True Type Fonts | Type1 Fonts | Image Reuse | Document Output | Advanced Topics | Programming with Generator for .NET