concept addTemplate() in category itext
appears as: ddTemplate()

This is an excerpt from Manning's book iText in Action, Second Edition.
Here’s how you first add the strips of film, followed by the images. The method addTemplate() is used to add the PdfTemplate object celluloid at a specific x,y position.
Listing 3.27. MoviePosters.java (continued)
for (int i = 0; i < 10; i++) { canvas.addTemplate(celluloid, 0, i * 84.2f); } List movies = PojoFactory.getMovies(connection); Image img; float x = 11.5f; float y = 769.7f; for (Movie movie : movies) { img = Image.getInstance(String.format(RESOURCE, movie.getImdb())); img.scaleToFit(1000, 60); img.setAbsolutePosition(x + (45 - img.getScaledWidth()) / 2, y); canvas.addImage(img); x += 48; if (x > 578) { x = 11.5f; y -= 84.2f; } }Figure 3.18 demonstrates the use of another version of the addTemplate() method.
Suppose you want the same result as shown in figure 14.4 but without using concatCTM() directly. In that case, you’ll need a version of the addTemplate() method that takes a, b, c, d, e, and f parameters.