Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

More DOC

edited February 2004 in RAP
I really would like more complete documentation!
(or may be I am not able to look at them.. this is even possible -) In
this case sorry in advance but... where do I have to look? )
Where, for example, are documented utility function like ppToMMThousandths?
Thanks
Bye
Nicola

Comments

  • edited February 2004
    Hi Nicola,

    ppToMMThousandths is an internal function used to ensure the highest
    precision when making report calculations. There are many methods similar
    to this one located in the ppUtils.pas file but they are all meant to be
    used internally by ReportBuilder and therefore are not documented.

    The ppToMMThousandths function is a simple utility used to convert a
    measurement in ReportUnits (i.e. utScreenPixels, utInches, utMillimeters,
    utPrinterPixels, utMMThousandths) to the common ReportBuilder measurement
    unit microns (or thousandths of millimeters). For instance, if you needed
    to convert 2.3 inches to microns, you would call...

    uses
    ppUtils,
    ppPrintr;

    lMMLength := ppToMMThousandths(2.3, utInches, pprtHorizontal, ppPrinter);

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.