|
|
|
|
|
- Example: Calculates the height required to print a text in RTF format
Example: Calculates the height required to print a text in RTF format 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.
dHauteur is real = iAreaHeight(sTexteRTF, 100, iRTF)
iBorder(0, 0, dHauteur*2, 200)
iPrintAreaRTF(sTexteRTF, 0, 0, dHauteur*2, 200)
iEndPrinting()
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|