Changing the Location of the Block Flow
To change the location of the block flow, use the AdvanceBlockFlow method to move down or up from the current position. The AdvanceBlockFlow method will not advance to a different page.
Add the following code to the Form_Load event to move down the page .25 inches from the current position:
Me.C1PrintDocument1.AdvanceBlockFlow("0.25in")
• C#
this.c1PrintDocument1.AdvanceBlockFlow("0.25in");
Add the following code to the Form_Load event to move up the page .25 inches from the current position:
Me.C1PrintDocument1.AdvanceBlockFlow("-0.25in")
• C#
this.c1PrintDocument1.AdvanceBlockFlow("-0.25in");
|