6.0

Table Of Contents
73
Example
setlinewidth(0.007)
moveto(0,0)
rlineto(&width,0)
rlineto(0,&height)
rlineto(neg(&width),0)
rlineto(0,neg(&height))
closepath()
stroke()
moveto(&width/2,&height/18)
BeginUTF8Paragraph(0.0000,&width,0.0000,'leftright',0.1667,'rtl')
SetStyleExt(&Style1,12.0000,0,[100],100)
ShowUTF8('\u0623\u0633\u0627\u0633\u064B\u0627\u060C')
EndUTF8Paragraph()
BitmapWidth/BitmapHeight (function)
Returns the width or height, in inches, of a bitmap image resource, at the specified resolution.
Syntax
Bitmapwidth( name, resolution ) measure value
Bitmapheight( name, resolution ) measure value
Argument
name — String value that specifies the name of the bitmap image resource.
resolution — Integer value that specifies the resolution at which you want to measure the width or height
of the bitmap.
Code Sample Example
This example sets the variable maxwidth to the width of the bitmap 'fingerprint' at a resolution of 150 DPI,
and the variable maxheight to the height of the same bitmap at a resolution of 200 DPI.
Example
&maxwidth := bitmapwidth( 'fingerprint', 150 )
&maxheight := bitmapheight( 'fingerprint', 200 )