About IDEAL Software Conception of VPE Short Programming Examples Overview: The Different Editions Press Reports, References and Customer's Letters Downloads Ordering Information Information about Updates and Upgrades Infos, Service Releases, FAQ Forum Send an e-mail to IDEAL Software
Home Conception Examples Editions References Download Ordering Update Info Support Forum e-Mail

Details

A Short Example
The call VPE.Print(200, 100, 'Hello World!') places the text "Hello World!" at the position (200, 100) on the current page. This means, the text is positioned with an offset of 2cm from the left page border and 1cm from the top page border.

The Result:
HelloWorld01.gif (2789 Byte)

 

Details

VPE is database independent. This means, you don't feed any SQL queries to VPE like with other report generators. Using VPE, you run your database queries from your native programming language and supply the data as formatted strings from your code to VPE.
The basic text output methods of VPE are Print(), PrintBox(), Write() and WriteBox(). Each method expects a string with the text to be printed and the output coordinates in 0.1mm. The same applies to imported images, barcodes, lines, frames, etc. The layout of documents, forms and reports is created dynamically during runtime by code, which gives you full control.
In order to simplify the programming task there are mechanisms implemented into VPE, which we call "Dynamic Positioning". The Dynamic Positioning helps you to create quickly accurate layouts using special commands. You can compute the width and height of text and images before inserting them into documents and you can position new objects (like text, lines, images, etc.) referring to the coordinates and dimensions of the past inserted objects.

 

As a result, you gain the following benefits

You create database queries with your native programming language, instead of getting into the complex query-building mechanisms of a report generator.
VPE allows true Multi-Tier application development
In Multi-Tier applications you have an existing set of encapsulated database views, which are separated from the presentation (e.g. the presentation in the Graphical User Interface). This technique allows the re-use of views in different modules and increases the productivity by many times. Using VPE, you can re-use the views by 100% for printing! Within standard report generators, you define every query a second time, and as a result you maintain the same queries in two different places.
Use your native programming language for data formatting and supply it to VPE. You don't need to familiarize with the complicated and strange data formatting commands of a report generator.
Good report generators have build-in a complete programming lanuage to control data presentation, like if-then-else structures, numeric computations for sums, totals, etc. and string manipulation functions like concatenation, etc. You need months to get into it. Using your native programming language and VPE, you don't need to learn again a new programming paradigm. To get onto the paper what you want, you simply need to know a handful of powerful layout functions provided by VPE. VPE is easy to use and can be learned fast.
You have total control over the layout anytime during the document creation process. You are not tied down to static layouts and banding technologies. Moreover you can move dynamically anytime to any page and insert new objects, like text, lines, images, etc. on any position in the document.

 

Back
Back

blnk.gif (43 Byte)