On Apr 19, 2006, at 1:36 AM, Paul Rehill wrote:

Asher

I thought I should have a quick look at your documentation but I can't
open your documentation xhtml files.  I tried associating the files
with Internet Explorer on Windows but that didn't work.

Hmm, that's no good. You can't simply select the file from an open dialog in IE? If all else fails, the documentation is online: http://www.fireyesoftware.com/developer/pdfclasses/onlinedocs/ index.xhtml.

How simple are the pdf classes? As simple as writing to a graphics object or more complicated?

Well, there are two basic ways to use the classes to create a PDF:

1. The PDFGraphics class provides an interface *identical* to the Graphics class; simply replace "Graphics" with "PDFGraphics" in your code, and it will work. 2. Create PDFPage objects, append content items to them, and append the pages to a PDFDocument object.

Once you've constructed the PDF using either method, call myDocument.savePDF( file ) to save the PDF, or use the PDFDocumentWriter class for more options.

It sounds like the PDFGraphics class would be best for you. There are a few examples using the PDFGraphics class in the Examples.rbp project. Check out the example project and the online docs, and let me know if you have any further questions!

Asher

-------------------------
Asher Dunn
Head Developer, Fireye Software
http://www.fireyesoftware.com/
AIM, Yahoo, MSN: crazedglkid

_______________________________________________
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