FlexCelPrintDocument.GetPrinterHardMargins Event
On .NET there is no way to get the actual physical margins of a printer without a p/invoke. As FlexCel doesn't contain p/invokes (in order to be portable to any platform), it will try to guess the best value for them by averaging the printer visible clip area. If you are not getting good results, you can let FlexCel know the real printer margins on this event. Normally, you would call GetDeviceCaps for this.
Remarks
See the printpreview demo to see how this event can be used.
Syntax
Namespace: FlexCel.Render
public PrintHardMarginsEventHandler GetPrinterHardMargins