Special

Special Print Closeout!

We're clearing out the remainder of our print issues at fire sale prices -- as much as 75% off! Quantities are extremely limited and only available while supplies last. Hurry to take advantage of this one-time offer.

RBD Magazines

Once these printed back issues are gone, they are gone!

Article Preview


Buy Now

PDF:

From Scratch

Graph Paper Maker

Create your own customized graph paper

Issue: 7.2 (January/February 2009)
Author: Brad Rhine
Article Description: No description available.
Article Length (in bytes): 9,328
Starting Page Number: 52
RBD Number: 7216
Resource File(s):

Download Icon 7216.zip Updated: Friday, January 2, 2009 at 12:27 PM

Related Web Link(s):

http://www.fireyesoftware.com/developer/pdfclasses.

Known Limitations: None

Excerpt of article text...

Today we begin a new project I'm going to call Graph Paper Maker, but only because I couldn't think of a good name. Recently, my daughter asked me if I had any graph paper, and I thought, "Hey! I could make some! Better yet, I could write a REALbasic application to make some for me! Even better, that sounds like a great idea for my next column!" And so here we are.

This project will span at least two issues of RB Developer. In this issue, we're going to design the interface and get our project to the point where it's producing graph paper in PDF format. To get PDF output, we're going to utilize Fireye Software's most excellent PDF Classes (which I reviewed in a recent issue). The classes will be free for our purposes, so don't worry about incurring any additional expenses in building this one.

Defining The Goal

So what do we want to be able to do with this project? Well, to put it simply, we want to make graph paper. But that graph paper should be customizable, so we'll need to be able to set the row height, column width, and line color. In addition, we should be able to support custom margins. And naturally, our user should be able to save the customized graph paper as a PDF anywhere on the computer.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com