- image
- The Leadtools.RasterImage to print.
- page
- The page number to print.
- e
- An System.Drawing.Printing.PrintPageEventArgs object that contains print data.
Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Print( _ ByVal image As RasterImage, _ ByVal page As Integer, _ ByVal e As PrintPageEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterImagePrinter Dim image As RasterImage Dim page As Integer Dim e As PrintPageEventArgs instance.Print(image, page, e) |
C# | |
---|---|
public virtual void Print( RasterImage image, int page, PrintPageEventArgs e ) |
C++/CLI | |
---|---|
public: virtual void Print( RasterImage^ image, int page, PrintPageEventArgs^ e ) |
Parameters
- image
- The Leadtools.RasterImage to print.
- page
- The page number to print.
- e
- An System.Drawing.Printing.PrintPageEventArgs object that contains print data.
For an example, refer to RasterImagePrinter and ImageRectangle.
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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7