Click or drag to resize

PrintImageEventArgsMinMargins Property

Gets the minimum margins (in pixels) for the printer being used.

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: (.NET 4.5.2, x86)
public Margins MinMargins { get; }

Property Value

Type: Margins
The minimum margins for the printer being used.
This property was added because the MinMargins property in the PageSetupDialog does not work.
MinMargins (C#)
private void imagePrintDocument1_PrintImage(object sender, Atalasoft.Imaging.WinControls.PrintImageEventArgs e)
     imagePrintDocument1.DefaultPageSettings.Margins = e.MinMargins;
MinMargins (Visual Basic)
Private Sub imagePrintDocument1_PrintImage(ByVal sender As Object, ByVal e As Atalasoft.Imaging.WinControls.PrintImageEventArgs)
     imagePrintDocument1.DefaultPageSettings.Margins = e.MinMargins
End Sub
See Also