I created a custom class to which I can pass text, styled text, and have it drawn in an object's graphics property. The same class that I use to Draw to a canvas can also be used to draw to a printer's graphics property. Now, I want to be able to print PDFs. I am looking at Asher's PDF classes which use the PDFGraphics. Is there where casting comes in? My class accepts a graphics object as reference, but I need it to accept another class like PDFGraphics. I am trying to avoid rewriting my code. Has anyone had similar experiences?

Patrick 
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to