You should not use the CRAPI, but rather the RDC for automation. It provides a better and more complete interface. Using the RDC, you can use the BottomMargin, LeftMargin, RightMargin, or TopMargin properties of the Report object. Measurements are in twips (1/1440 of an inch).
>I am trying to allow the user to change the margins on a report at run-time. I create the crystl object appropriately:
> crystal1 = createobject(:Crystal.CrystalReport)
>I can set the other properties, however I cannot figure out how to drill into the actual report properties to change the margins.
>
>Can anyone help?
>
>Thank you so much!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer