Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 2.5

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 mich@webobjectives.com.au.
Article Description: No description available.
Article Length (in bytes): 22,083
Starting Page Number: 20
Article Number: 2511
Resource File(s):

Download Icon 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.