Leadtools.WinForms Namespace > RasterImagePrinter Class : Print Method |
public virtual void Print( RasterImage image, int page, PrintPageEventArgs e )
'Declaration Public Overridable Sub Print( _ ByVal image As RasterImage, _ ByVal page As Integer, _ ByVal e As PrintPageEventArgs _ )
'Usage Dim instance As RasterImagePrinter Dim image As RasterImage Dim page As Integer Dim e As PrintPageEventArgs instance.Print(image, page, e)
public virtual void Print( RasterImage image, int page, PrintPageEventArgs e )
public: virtual void Print( RasterImage^ image, int page, PrintPageEventArgs^ e )
page is 1-based.
You usually call this method from your System.Drawing.Printing.PrintDocument.PrintPage event handler of a System.Drawing.Printing.PrintDocument object. You must pass the System.Drawing.Printing.PrintPageEventArgs obtained in the System.Drawing.Printing.PrintDocument.PrintPage event handler to this method as the e parameter.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2