At 09:08 PM 7/23/2002 -0400, Mike Sinclair wrote:

>NOW HOW DO YOU DISPLAY THE FILES????????


If you are using The Glorious R:BASE 2000 (ver 6.5++) for Windows:

01. Write the file to disk and use LAUNCH command to display.

02. In Forms/Reports/Labels take advantage of custom option of
    BLOB DRAW to display.

The upcoming in-line patch-3, currently under beta, also includes
the ENHANCED RBLOB.DLL and new GetTiff.DLL to support
multi-page TIFF (Tagged Image File Format), a file format used for
scanning, storing, and interchanging color and grey scale images.

You can display any page of a multi-page TIFF document.

Here are the details for each file:

File: GetTiff.dll

Put this into the RBWIN65 directory and in your code, put the
following string:

SET VAR vPages TEXT = (UDF('@GetTiff.dll','<filename>'))

This will return one of the following vales:

* The actual number of pages in the document if the document is
   valid

* -1 in the event the file is not readable

* -2 in the event that the file is not found

File: RBLOB.dll

Drop this file into the RBWIN65 directory and overwrite the old one.

When you create your variable, you will need to format it like this:

SET VAR vImage VARCHAR = 'Multi.tiff|2, dmstretch'

Notes:

* After the filename, use a pipe ( | ) to specify a particular page in
   a multi page TIF document.

* If you specify any number 0 or less (-23454 for example), the first
   page in the document will display.

* If you specify any number greater than the amount of pages in the
   document (4564545 for example), the last page of the document
   will display. This is useful if you want to see the last page, but
   aren't sure how many pages are in the document.

* If you specify no page number, the first page will display.

* The "dmstretch" or other RBLOB parameter is optional. You can
   simply specify the file and page.

This should work well, because since you now know how many
pages are in your document, you can build a vImage variable on
the fly that increments by 1 so that you can scroll through the
pages. And, it won't bomb if you accidentally exceed the maximum
page number.

The Magical R:BASE 7.0 for Windows includes the Graphical User
Interface "BLOB Viewer/Editor" option to manage ANY BLOB (VARBIT),
VARCHAR and NOTE data types when used in Data Browser/Editor at
the R> prompt or DBGrid option in Forms.

Enjoy and make sure to have fun!

Very Best Regards,

Razzak.



================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to