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: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public Margins MinMargins { get; }
Public ReadOnly Property MinMargins As Margins
Get
Property Value
Type:
Margins The minimum margins for the printer being used.
Remarks This property was added because the MinMargins property in the PageSetupDialog does not work.
Examples 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