| Visual Basic (Declaration) | |
|---|---|
Public Overridable Sub Print( _ ByVal image As RasterImage, _ ByVal page As Integer, _ ByVal e As PrintPageEventArgs _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public virtual void Print( RasterImage image, int page, PrintPageEventArgs e ) | |
| Managed Extensions for 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 RasterImage to print.
- page
- The page number to print.
- e
- An PrintPageEventArgs object that contains print data.
Refer to RasterImagePrinter class.
page is 1-based.
You usually call this method from your PrintPage event handler of a PrintDocument object. You must pass the PrintPageEventArgs obtained in the PrintPage event handler to this method as the e parameter.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family