File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What to Replace Deprecated Method With

 
Steve Dyke
Ranch Hand
Posts: 1602
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The following code says the Graphics2D g2 = tp.createGraphics( width, height, new DefaultFontMapper() );
is deprecated. The infor I found says to use the constructor of the PdfPrinterGraphics2D class. Can someone help me take this code and change it.

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic