|
|
|
|
|
- Example: Calculating the height required to print a text in RTF
Example: Calculating the height required to print a text in RTF The following example is used to calculate the height of the area required to print a text in RTF. A border is drawn (according to the height that was previously defined) and the text is printed. // Retrieve the height of the column dHeight is real = iZoneHeight(sRTFText, 100, iRTF) // Draws a border iBorder(0, 0, dHeight*2, 200) // Text centered in the border iPrintZoneRTF(sRTFText, 0, 0, dHeight*2, 200) iEndPrinting()
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|