Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing margins on the fly
Message
From
15/11/2004 09:31:19
 
 
To
15/11/2004 09:22:28
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Environment versions
Visual FoxPro:
VFP 6
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00961361
Message ID:
00961363
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform