- image
- The RasterImage to be printed.
- page
- The page number to be printed.
- container
- The AnnContainer containing the annotation objects to be printed.
- e
- An PrintPageEventArgs object that contains print data.
Visual Basic (Declaration) | |
---|---|
Overloads Public Overridable Sub Print( _ ByVal image As RasterImage, _ ByVal page As Integer, _ ByVal container As AnnContainer, _ ByVal e As PrintPageEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void Print( RasterImage image, int page, AnnContainer container, PrintPageEventArgs e ) |
C++/CLI | |
---|---|
public: virtual void Print( RasterImage image, int page, AnnContainer^ container, PrintPageEventArgs e ) |
Parameters
- image
- The RasterImage to be printed.
- page
- The page number to be printed.
- container
- The AnnContainer containing the annotation objects to be printed.
- e
- An PrintPageEventArgs object that contains print data.
For an example, refer to AnnPrinter.
The page parameter is 1-based.
You usually call this method from the 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.
You can pass null (Nothing) for either image or container to not print the specified object.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family