Mark,
The preview is displayed in the report designer window. Its dimensions are stored in the resource file and based on the last changes made by user when she/he resized it.
When user or application calls the report ... preview, the window size is defined from the resource file.
If you wish to control the report designer from within application, then you may use the old trick:
oForm=Create('form')
oForm.WindowState = as needed
oForm.Hight = as needed
oForm.Width =as needed
oForm.Show
Report form .... Preview Window (oForm.Name)
oForm.Release
Good Luck
P.S. Sorry did not realize you work with VFP9. Still you can use the above.
>How to properly calculate dimensions of a preview shape? can they be equal to the actual report size?
>
>Thanks