How to adjust margins
- From: "Wayne Wengert" <wayneSKIPSPAM@xxxxxxxxxxx>
- Date: Fri, 7 Apr 2006 10:57:37 -0600
I have a report (using VS.NET built in CR) that is used to print mailing
labels. Because of variations in printers I am trying to offer an option to
adjust the top/bottom and left/right margins in increments of 0.1" from 0 to
plus or minus 0.5" but I cannot get any change to take place on the printed
output. I take the user's adjustment input and set new values accordingly
(for an adjustment of "Up 0.3 in" I set variables for the new top and bottom
margins to 0.2" and 0.8" respectively) and then I multiply those values by
1440 (twips/in) and apply the margins to the report as shown here:
myMargins.topMargin = valtm * 1440
myMargins.bottomMargin = valbm * 1440
myMargins.leftMargin = vallm * 1440
myMargins.rightMargin = valrm * 1440
ActiveReport.PrintOptions.ApplyPageMargins(myMargins)
but it does not seem to have any effect? What am I doing wrong here?
Wayne
.
- Prev by Date: Database Expert is Missing the ADO.NET / XML data source item.
- Next by Date: Crystal report 9 How can i switch between 2 database location ?
- Previous by thread: Database Expert is Missing the ADO.NET / XML data source item.
- Next by thread: Crystal report 9 How can i switch between 2 database location ?
- Index(es):
Relevant Pages
|