Article Preview
Buy Now
FEATURE
PDF, Really?
Saving and Printing PDF Documents from REALbasic
Issue: 2.5 (May/June 2004)
Author: Michelle Parker
Author Bio:
Michelle Parker has been developing for the Macintosh since 1989, and together with her husband Stuart runs the Australian software development and consulting company, Web Objectives. She can be contacted at
Article Description: No description available.
Article Length (in bytes): 22,083
Starting Page Number: 20
Article Number: 2511
Resource File(s):
2511.zip Updated: 2013-03-11 19:07:57
Related Link(s): None
Excerpt of article text...
Have you ever wanted a better way to save and print documents from your REALbasic applications? A small, high quality file which looks identical on every REALbasic platform and prints fast. Interested? Well, you know what I'm talking about -- it's PDF, Adobe's Portable Document Format. Almost everyone with a computer has Acrobat Readerand it has been downloaded over 500 million times since 1993!
Last year, while developing a REALbasic application, I thought, "Wouldn't it be great it I could save and print this report in PDF?" But how? Obviously,
Saving to PDF is an option on MacOSX, but those files are too big, and my users need something really easy, in just one step. And, well, raw PDF was just too hard...Well, now I know a whole lot more about PDF and it's neat! So, I'd like to share with you my PDFObjects, based on REALbasic controls, called
REALpdf . This example project contains text, images, and graphics set out in different fonts, sizes, and colors. With one click, a PDF file based on the contents of the window is created.For this project you will need a basic understanding of REALbasic's EditField, StaticText, Canvas, and Rectangle. No previous experience with PDF is required!
Download the REALpdf project from the
RBD website (built with RB version 4.5) to get started.OOP and REALbasic Controls
...End of Excerpt. Please purchase the magazine to read the full article.