←Select platform

Print Method

Summary

Prints the specified Leadtools.RasterImage and AnnContainer.

Syntax

C#
VB
C++
public virtual void Print( 
   RasterImage image, 
   int page, 
   AnnContainer container, 
   PrintPageEventArgs e 
) 
  
Public Overloads Overridable Sub Print( _ 
   ByVal image As Leadtools.RasterImage, _ 
   ByVal page As Integer, _ 
   ByVal container As Leadtools.Annotations.AnnContainer, _ 
   ByVal e As PrintPageEventArgs _ 
)  
public: 
virtual void Print(  
   Leadtools.RasterImage^ image, 
   int page, 
   Leadtools.Annotations.AnnContainer^ container, 
   PrintPageEventArgs^ e 
)  

Parameters

image
The Leadtools.RasterImage to be printed.

page
The page number to be printed.

container
The AnnContainer containing the annotation objects to be printed.

e
An System.Drawing.Printing.PrintPageEventArgs object that contains print data.

Remarks

The page parameter is 1-based.

You usually call this method from the 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.

You can pass null (Nothing) for either image or container to not print the specified object.

Example

For an example, refer to AnnPrinter.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly