How to change PrintPageEventArgs.MarginBounds

Hi,
How can i change default PrintPageEventArgs.MarginBounds which is (100,100) inside overridden PrintDecoration(…) function?
Thanks

How about this?

http://www.nwoods.com/forum/forum_posts.asp?TID=2500&PID=9977#9977

Hi,

I added this function in view class, but it doesn't work:
protected override DialogResult PrintShowDialog(PrintDocument pd)
{
pd.DefaultPageSettings.Landscape = true;
pd.DefaultPageSettings.Margins = new Margins(0, 0, 0, 0);
return base.PrintShowDialog(pd);
}
How this function would be called?
In my case, on calling view.PrintPreview(), overridden function PrintDecoration(...) is called.

PrintShowDialog() is called as a result of a call to GoView.Print(). I tested the above code, it results in PrintDecoration being called with 0 margins.